Counters
public class Counters : CustomStringConvertible
Contains all counters for a specific counter type. Instances of this class are returned by various calls:
- {@link Terminal#balance}
- {@link Terminal#balanceAsync}
- {@link Terminal#counterRequest}
- {@link Terminal#counterRequestAsync}
- {@link Terminal#deactivate}
- {@link Terminal#deactivateAsync}
- {@link Terminal#reconciliation}
- {@link Terminal#reconciliationAsync}
Immutable class.
-
Create counters.
Declaration
Swift
public init(counterType: CCounterType, seqCounter: Int, counters: [Counter])
-
Specifies what kind of counter are demanded.
Declaration
Swift
public private(set) var counterType: CCounterType
-
Activation or period sequence counter depending on type.
Declaration
Swift
public private(set) var seqCounter: Int
-
Counters per brand.
Declaration
Swift
public private(set) var counters: [Counter]
-
Textual representation.
Declaration
Swift
public var description: String { get }