Class Total
Contains information about the total for one currency. Immutable class.
Inheritance
System.Object
Total
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class Total : object
Constructors
Total(Int32, Amount, Amount, Amount, List<TrxDetail>, String, Int32)
Create total.
Declaration
public Total(int count, Amount amountSum, Amount amountSumTip, Amount amountSumOther, List<TrxDetail> trxDetails, string currency, int exponent)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | count | |
Amount | amountSum | |
Amount | amountSumTip | |
Amount | amountSumOther | |
List<TrxDetail> | trxDetails | |
System.String | currency | |
System.Int32 | exponent |
Properties
AmountSum
Total of amounts.
Declaration
public Amount AmountSum { get; }
Property Value
Type | Description |
---|---|
Amount |
AmountSumOther
Total amount per currency.
Declaration
public Amount AmountSumOther { get; }
Property Value
Type | Description |
---|---|
Amount |
AmountSumTip
Total amount per currency.
Declaration
public Amount AmountSumTip { get; }
Property Value
Type | Description |
---|---|
Amount |
Count
Count of Transactions.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TrxDetails
List of TrxDetails as TrxDetail.
Declaration
public List<TrxDetail> TrxDetails { get; }
Property Value
Type | Description |
---|---|
List<TrxDetail> |
Methods
getCurrency()
Currency.
Declaration
public string getCurrency()
Returns
Type | Description |
---|---|
System.String |
getExponent()
\brief Exponent.
Declaration
public int getExponent()
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
String representation.
Declaration
public override String ToString()
Returns
Type | Description |
---|---|
String |