SavePaymentMethods Method
Updates the PaymentMethod objects.
Namespace: Microsoft.CommerceServer.Orders.WebService
Assembly: Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Sub SavePaymentMethods ( _
paymentMethods As DataSet _
)
'Usage
Dim instance As OrdersWebService
Dim paymentMethods As DataSet
instance.SavePaymentMethods(paymentMethods)
[WebMethodAttribute]
public virtual void SavePaymentMethods(
DataSet paymentMethods
)
[WebMethodAttribute]
public:
virtual void SavePaymentMethods(
DataSet^ paymentMethods
)
public function SavePaymentMethods(
paymentMethods : DataSet
)
Parameters
- paymentMethods
Type: System.Data..::.DataSet
A collection containing all the payment methods.
Remarks
This method inserts the newly added PaymentMethod objects (state=2), updates the modified PaymentMethod objects (state=1), and deletes the deleted PaymentMethod objects (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.