Share via


DoSavePaymentMethods Method

Updates the payment methods by inserting, updating, and deleting the records that are marked.

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

Syntax

'Declaration
Protected Sub DoSavePaymentMethods ( _
    paymentMethods As DataSet _
)
'Usage
Dim paymentMethods As DataSet

Me.DoSavePaymentMethods(paymentMethods)
protected void DoSavePaymentMethods(
    DataSet paymentMethods
)
protected:
void DoSavePaymentMethods(
    DataSet^ paymentMethods
)
protected function DoSavePaymentMethods(
    paymentMethods : DataSet
)

Parameters

Remarks

Updates the payment methods by inserting the newly added ones (state=2), updating the modified ones (state=1), and deleting the ones marked for deletion (state=3).

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace