Share via


RefreshPaymentMethods Method

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

Refresh the payment method collection.

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

Syntax

'Declaration
Public Sub RefreshPaymentMethods
'Usage
Dim instance As PaymentMethodManager

instance.RefreshPaymentMethods()
public void RefreshPaymentMethods()
public:
void RefreshPaymentMethods()
public function RefreshPaymentMethods()

Exceptions

Exception Condition
TimeoutException

Thrown if sql command timeout occurs.

Remarks

Method can be used to refresh the payment method collection. This method synchronizes the collection with the database.

In order to perform a RefreshPaymentMethods, the user must have the OrdersViewer permissions. See Orders System Roles [CS06] for more information about the specific roles in the Order System.

Some order system APIs support distributed transactions. If a cookie with a valid transaction is found the order system enlists as part of that transaction. If a valid transaction is not found the order system initiates a new transaction.

Permissions

See Also

Reference

PaymentMethodManager Class

PaymentMethodManager Members

Microsoft.CommerceServer.Orders Namespace