Gets or sets the rate type used to calculate the cost for
this event or service.
Namespace:
BargeExAssembly: BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)
Syntax
C# |
---|
public virtual CicaRateType RateType { get; set; } |
Visual Basic (Declaration) |
---|
Public Overridable Property RateType As CicaRateType |
Visual C++ |
---|
public: virtual property CicaRateType RateType { CicaRateType get (); void set (CicaRateType value); } |
Property Value
The rate type used to calculate the cost for this event or service. The default value is NotProvided.Remarks
This property indicates the type of rate represented and indicates which of the RateInformation properties are relevant:
- If this property is set to NotProvided, the FixedRateAmount, UnitRateUnitAmount, UnitRateQuantity, and UnitRateQuantityUnitCode properties should be disregarded.
-
If this property is set to FixedRate, the
FixedRateAmount
property will contain the rate. The
UnitRateUnitAmount,
UnitRateQuantity, and
UnitRateQuantityUnitCode
properties should be disregarded.
Cost = FixedRateAmount
-
If this property is set to UnitRate, the
UnitRateUnitAmount,
UnitRateQuantity, and
UnitRateQuantityUnitCode
properties should be set. The
FixedRateAmount
property should be disregarded.
Cost = UnitRateUnitAmount * UnitRateQuantity
- This property should not be set to PercentageRate.