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 |
Fields
Markup
Markup which is applied to the DCC rate provided by the DCC provider.
Declaration
public readonly int Markup
Field Value
Type | Description |
---|---|
System.Int32 | The markup. |
MarkupExponent
Defines exponent of the markup.
Declaration
public readonly int MarkupExponent
Field Value
Type | Description |
---|---|
System.Int32 | The markup exponent. |
MarkupExponentRegulated
Defines exponent of the markup.
Declaration
public readonly int MarkupExponentRegulated
Field Value
Type | Description |
---|---|
System.Int32 | The markup exponent. |
MarkupRegulated
Markup which is applied to the DCC rate provided by the DCC provider.
Declaration
public readonly int MarkupRegulated
Field Value
Type | Description |
---|---|
System.Int32 | The markup. |
Rate
Exchange rate of the specified amount.
Declaration
public readonly int Rate
Field Value
Type | Description |
---|---|
System.Int32 |
RateExponent
Exchange rate exponent of the specified amount (decimal places after point in the Currency)
Declaration
public readonly int RateExponent
Field 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 readonly int RateExponentRegulated
Field Value
Type | Description |
---|---|
System.Int32 | The rate exponent. |
RateRegulated
Exchange rate of the specified amount.
Declaration
public readonly int RateRegulated
Field Value
Type | Description |
---|---|
System.Int32 |
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. |
Methods
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |