TrxDetail
public class TrxDetail : CustomStringConvertible
Contains transaction details for counters. Immutable class.
-
init(dccFlag:
transactionType: count: amountSum: amountSumTip: amountSumOther: aid: markup: markupExponent: ) Create transaction detail.
Declaration
Swift
public init(dccFlag: Bool, transactionType: CTransactionType, count: Int, amountSum: Amount, amountSumTip: Amount?, amountSumOther: Amount?, aid: String, markup: Int?, markupExponent: Int?)
-
Specifies is a transaction is a DCC transaction or not.
Declaration
Swift
public private(set) var dccFlag: Bool { get }
-
Transaction type this details affect.
Declaration
Swift
public private(set) var transactionType: CTransactionType { get }
-
Number of transactions covered by the sum.
Declaration
Swift
public private(set) var count: Int { get }
-
Total of amount.
Declaration
Swift
public private(set) var amountSum: Amount { get }
-
Total of amount.
Declaration
Swift
public private(set) var amountSumTip: Amount? { get }
-
Total of amount.
Declaration
Swift
public private(set) var amountSumOther: Amount? { get }
-
Aid.
Declaration
Swift
public private(set) var aid: String { get }
-
Markup percentage value.
Declaration
Swift
public private(set) var markup: Int? { get }
-
Markup percentage value exponent.
Declaration
Swift
public private(set) var markupExponent: Int? { get }
-
Textual representation.
Declaration
Swift
public var description: String { get }