Partager via


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

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

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace