Class AmountDiscount
Foreign Amount. Is local amount multiplied by the exchange rate.
Inheritance
System.Object
AmountDiscount
Assembly: TimApi.dll
Syntax
public class AmountDiscount : Amount
Constructors
AmountDiscount()
Declaration
AmountDiscount(Decimal, String, String)
Declaration
public AmountDiscount(decimal value, string currency, string discountId)
Parameters
Type |
Name |
Description |
System.Decimal |
value |
|
System.String |
currency |
|
System.String |
discountId |
|
AmountDiscount(Int64, String, Int32, String)
Declaration
public AmountDiscount(long value, string currency, int exponent, string discountId)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
System.String |
currency |
|
System.Int32 |
exponent |
|
System.String |
discountId |
|
AmountDiscount(Int64, String, String)
Declaration
public AmountDiscount(long value, string currency, string discountId)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
System.String |
currency |
|
System.String |
discountId |
|
Properties
DiscountId
Discount Id of the specified amount.
Declaration
public String DiscountId { get; }
Property Value
Type |
Description |
String |
The rate.
|
Methods
ToString()
Declaration
public override String ToString()
Returns
Overrides