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. |
value | |
System. |
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. |
value | |
System. |
currency | |
System. |
rate | |
System. |
rateExponent | |
System. |
markup | |
System. |
markupExponent | |
System. |
rateRegulated | |
System. |
rateExponentRegulated | |
System. |
markupRegulated | |
System. |
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. |
value | |
System. |
currency | |
System. |
rate | |
System. |
rateExponent | |
System. |
markup | |
System. |
markupExponent | |
System. |
rateRegulated | |
System. |
rateExponentRegulated | |
System. |
markupRegulated | |
System. |
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. |
value | |
System. |
currency | |
System. |
exponent | |
System. |
rate | |
System. |
rateExponent | |
System. |
markup | |
System. |
markupExponent | |
System. |
rateRegulated | |
System. |
rateExponentRegulated | |
System. |
markupRegulated | |
System. |
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. |
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. |
The decimal markup. |
DecRate
Exchange rate of the specified amount as decimal
Declaration
public decimal DecRate { get; }
Property Value
Type | Description |
---|---|
System. |
The decimal rate. |
DecRateRegulated
Exchange rate of the specified amount as decimal
Declaration
public decimal DecRateRegulated { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
The markup. |
MarkupExponent
Defines exponent of the markup.
Declaration
public int MarkupExponent { get; }
Property Value
Type | Description |
---|---|
System. |
The markup exponent. |
MarkupExponentRegulated
Defines exponent of the markup.
Declaration
public int MarkupExponentRegulated { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
The markup. |
Rate
Exchange rate of the specified amount.
Declaration
public int Rate { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
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. |
The rate exponent. |
RateRegulated
Exchange rate of the specified amount.
Declaration
public int RateRegulated { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
ToString()
String representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |