Dynamicweb.eCommerce.Orders Namespace > Payment Class : getPaymethodsByRegion Method |
'Declaration
Public Shared Function getPaymethodsByRegion( _ ByVal code2 As String, _ ByVal regionCode As String _ ) As PaymentCollection
public static PaymentCollection getPaymethodsByRegion( string code2, string regionCode )
public String GetPaymentMethodsForOrder(Order order) { PaymentCollection dwPay = Payment.getPaymethodsByRegion( order.FeeCountryCode("PAY"), order.FeeRegionCode("PAY", order.FeeCountryCode("PAY")) ); return GetPaymentData( dwPay ); }
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