Class AmountDiscount
Foreign Amount. Is local amount multiplied by the exchange rate.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class AmountDiscount : Amount
Constructors
AmountDiscount()
Declaration
public AmountDiscount()
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 |
---|---|
System.String | The rate. |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |