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])
-
Create counters.
Declaration
Swift
public init(counterType: CCounterType, seqCounter: Int, counters: [Counter], printData: PrintData?)
-
Specifies what kind of counter are demanded.
Declaration
Swift
public private(set) var counterType: CCounterType { get }
-
Activation or period sequence counter depending on type.
Declaration
Swift
public private(set) var seqCounter: Int { get }
-
Counters per brand.
Declaration
Swift
public private(set) var counters: [Counter] { get }
-
Optional print data. Present only in CRequestType.counterRequest.
Declaration
Swift
public private(set) var printData: PrintData? { get }
-
Textual representation.
Declaration
Swift
public var description: String { get }