Dynamicweb 8 Documentation
GetFees(String,String,String,String,Boolean) Method
Example 

The method.
The method ID.
The country ID.
The region ID.
Gets the fees.
Syntax
'Declaration
 
Public Overloads Shared Function GetFees( _ 
   ByVal method As String, _ 
   ByVal methodID As String, _ 
   ByVal countryID As String, _ 
   ByVal regionID As String, _ 
   ByVal takeIntoAccountMethodCountryRelation As Boolean _ 
) As FeeCollection
public static FeeCollection GetFees( 
   string method,
   string methodID,
   string countryID,
   string regionID,
   bool takeIntoAccountMethodCountryRelation 
)

Parameters

method
The method.
methodID
The method ID.
countryID
The country ID.
regionID
The region ID.
takeIntoAccountMethodCountryRelation
Example
public String GetCaliforniaStateFeeData() 
{
    FeeCollection dwFees = Fee.GetFees("PAY", payId, "US", "CA");

    return GetFeeData( dwFees );
 }
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

Fee Class
Fee Members
Overload List

Send Feedback