Class AmountDcc
Foreign Amount. Is local amount multiplied by the exchange rate.
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class AmountDcc : Amount
Constructors
AmountDcc(Decimal, String)
Declaration
public AmountDcc(decimal value, string currency)
Parameters
Type | Name | Description |
---|---|---|
System.Decimal | value | |
System.String | currency |
AmountDcc(Int32, String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public AmountDcc(int value, string currency, int rate, int rateExponent, int markup, int markupExponent, int rateRegulated, int rateExponentRegulated, int markupRegulated, int markupExponentRegulated)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | |
System.String | currency | |
System.Int32 | rate | |
System.Int32 | rateExponent | |
System.Int32 | markup | |
System.Int32 | markupExponent | |
System.Int32 | rateRegulated | |
System.Int32 | rateExponentRegulated | |
System.Int32 | markupRegulated | |
System.Int32 | markupExponentRegulated |
AmountDcc(Int64, String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public AmountDcc(long value, string currency, int rate, int rateExponent, int markup, int markupExponent, int rateRegulated, int rateExponentRegulated, int markupRegulated, int markupExponentRegulated)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | |
System.String | currency | |
System.Int32 | rate | |
System.Int32 | rateExponent | |
System.Int32 | markup | |
System.Int32 | markupExponent | |
System.Int32 | rateRegulated | |
System.Int32 | rateExponentRegulated | |
System.Int32 | markupRegulated | |
System.Int32 | markupExponentRegulated |
AmountDcc(Int64, String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public AmountDcc(long value, string currency, int exponent, int rate, int rateExponent, int markup, int markupExponent, int rateRegulated, int rateExponentRegulated, int markupRegulated, int markupExponentRegulated)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | |
System.String | currency | |
System.Int32 | exponent | |
System.Int32 | rate | |
System.Int32 | rateExponent | |
System.Int32 | markup | |
System.Int32 | markupExponent | |
System.Int32 | rateRegulated | |
System.Int32 | rateExponentRegulated | |
System.Int32 | markupRegulated | |
System.Int32 | markupExponentRegulated |
Properties
DecMarkup
Markup which is applied to the DCC rate provided by the DCC provider as decimal
Declaration
public decimal DecMarkup { get; }
Property Value
Type | Description |
---|---|
System.Decimal | The decimal markup. |
DecMarkupRegulated
Markup which is applied to the DCC rate provided by the DCC provider as decimal
Declaration
public decimal DecMarkupRegulated { get; }
Property Value
Type | Description |
---|---|
System.Decimal | The decimal markup. |
DecRate
Exchange rate of the specified amount as decimal
Declaration
public decimal DecRate { get; }
Property Value
Type | Description |
---|---|
System.Decimal | The decimal rate. |
DecRateRegulated
Exchange rate of the specified amount as decimal
Declaration
public decimal DecRateRegulated { get; }
Property Value
Type | Description |
---|---|
System.Decimal | The decimal rate. |
Markup
Markup which is applied to the DCC rate provided by the DCC provider.
Declaration
public int Markup { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The markup. |
MarkupExponent
Defines exponent of the markup.
Declaration
public int MarkupExponent { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The markup exponent. |
MarkupExponentRegulated
Defines exponent of the markup.
Declaration
public int MarkupExponentRegulated { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The markup exponent. |
MarkupRegulated
Markup which is applied to the DCC rate provided by the DCC provider.
Declaration
public int MarkupRegulated { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The markup. |
Rate
Exchange rate of the specified amount.
Declaration
public int Rate { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RateExponent
Exchange rate exponent of the specified amount (decimal places after point in the Currency)
Declaration
public int RateExponent { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The rate exponent. |
RateExponentRegulated
Exchange rate exponent of the specified amount (decimal places after point in the Currency)
Declaration
public int RateExponentRegulated { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The rate exponent. |
RateRegulated
Exchange rate of the specified amount.
Declaration
public int RateRegulated { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |