DoGetPaymentMethods Method

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

Returns a DataSet containing all the payment methods whether the methods are active or not.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Protected Function DoGetPaymentMethods As DataSet
'Usage
Dim returnValue As DataSet

returnValue = Me.DoGetPaymentMethods()
protected DataSet DoGetPaymentMethods()
protected:
DataSet^ DoGetPaymentMethods()
protected function DoGetPaymentMethods() : DataSet

Return Value

Type: System.Data..::.DataSet
A DataSet containing all the payment methods.

Remarks

The DataSet contains one table named PaymentMethods with columns from the paymentconfig table. A column titled State will contain 0 for all records. Possible values that the State column can be set to are:

  • 0 means untouched.

  • 1 means modified.

  • 2 means newly added.

  • 3 means deleted.

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace