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
-
Transaction type this details affect.
Declaration
Swift
public private(set) var transactionType: CTransactionType
-
Number of transactions covered by the sum.
Declaration
Swift
public private(set) var count: Int
-
Total of amount.
Declaration
Swift
public private(set) var amountSum: Amount
-
Total of amount.
Declaration
Swift
public private(set) var amountSumTip: Amount?
-
Total of amount.
Declaration
Swift
public private(set) var amountSumOther: Amount?
-
Aid.
Declaration
Swift
public private(set) var aid: String
-
Markup percentage value.
Declaration
Swift
public private(set) var markup: Int?
-
Markup percentage value exponent.
Declaration
Swift
public private(set) var markupExponent: Int?
-
Textual representation.
Declaration
Swift
public var description: String { get }