Dynamicweb 8 Documentation
getPaymethods(Boolean) Method
Example 

if set to true [join country relations].
Gets the paymethods that has relation to any country, if joinCountryRelations parameter is true. Otherwise gets all pay methods.
Syntax
'Declaration
 
Public Overloads Shared Function getPaymethods( _ 
   ByVal joinCountryRelations As Boolean _ 
) As PaymentCollection
public static PaymentCollection getPaymethods( 
   bool joinCountryRelations 
)

Parameters

joinCountryRelations
if set to true [join country relations].
Example
public String GetAllShippingData() 
{
    PaymentCollection dwPay = Payment.getPaymethods(false);

    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