Class Total
Contains information about the total for one currency. Immutable class.
Inheritance
System.Object
Total
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 Total
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 | |
System.Collections.Generic.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 |
---|---|
System.Collections.Generic.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 |
---|---|
System.String |
Overrides
System.Object.ToString()