共用方式為


GetPaymentMethods Method

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

Returns a list of all configured payment methods.

Overload List

  Name Description
Aa530574.pubmethod(en-US,CS.70).gif GetPaymentMethods()()() Returns a list of all active payment methods for all languages.
Aa530574.pubmethod(en-US,CS.70).gif GetPaymentMethods(String) Returns a list of all configured payment methods for the specified language.

Top

Remarks

GetPaymentMethods caches payment methods, and returns payment methods from the cache if the payment method cache is configured. GetPaymentMethods queries the database only when the cache is not configured. Only the payment methods that are present in the specified language are returned.

See Also

Reference

OrderContext Class

OrderContext Members

Microsoft.CommerceServer.Runtime.Orders Namespace