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
- paymentMethods
Type: System.Data..::.DataSet
A PaymentMethod. A CreditCard, GiftCertificate, CashCard, or PurchaseOrder.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.