Dynamicweb 8 Documentation
getPaymethods(String,String) Method
Example 

The country code.
The pay methods ID, separated by comma.
Gets the paymethods with the suitable country code and pay method ID.
Syntax
'Declaration
 
Public Overloads Shared Function getPaymethods( _ 
   ByVal code2 As String, _ 
   ByVal methods As String _ 
) As PaymentCollection
public static PaymentCollection getPaymethods( 
   string code2,
   string methods 
)

Parameters

code2
The country code.
methods
The pay methods ID, separated by comma.
Example
public String GetPaymentMethodsForOrder(Order order) 
{
    PaymentCollection dwPay = Payment.getPaymethods( order.FeeCountryCode("PAY"), order.PaymentMethodID );

    return GetPaymentData( dwPay );
 }
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Payment Class
Payment Members
Overload List

Send Feedback