GetPaymentMethods Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns the DataSet containing all the payment methods irrespective of whether it is active or not.

Namespace:  Microsoft.CommerceServer.Orders.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetPaymentMethods As DataSet
'Usage
Dim instance As OrdersWebService
Dim returnValue As DataSet

returnValue = instance.GetPaymentMethods()
[WebMethodAttribute]
public virtual DataSet GetPaymentMethods()
[WebMethodAttribute]
public:
virtual DataSet^ GetPaymentMethods()
public function GetPaymentMethods() : DataSet

Return Value

Type: System.Data..::.DataSet
A DataSet of all configured payment methods.

Remarks

The DataSet contains one table named PaymentMethods with columns same as in the paymentconfig table in the database. Also it will contain a column "State". The value for this field for all the records will be set to "0". "0" means untouched. "1" means modified. "2" means newly added. "3" means deleted.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace