Gets the flat rate price for the given member type and category.

Namespace: Asi.iBO.Commerce
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public decimal GetFlatRate(
	string customerTypeCode,
	string customerCategoryCode
)
Visual Basic
Public Function GetFlatRate ( _
	customerTypeCode As String, _
	customerCategoryCode As String _
) As Decimal
Visual C++
public:
Decimal GetFlatRate(
	String^ customerTypeCode, 
	String^ customerCategoryCode
)

Parameters

customerTypeCode
Type: System..::..String
The customer type for which the price is desired.
customerCategoryCode
Type: System..::..String
The customer category (if used by the system) to help find the appropriate rate

Return Value

The flat rate price, if available, or -1 if not found.

See Also