BalanceResponse

public class BalanceResponse : CustomStringConvertible

Contains the result of a call to {@link Terminal#balance} or {@link Terminal#balanceAsync}. Immutable class.

  • Create balance response.

    Declaration

    Swift

    public init(printData: PrintData?, counters: Counters?, partialExceptions: [Errors])
  • Print information for merchant receipt.

    Declaration

    Swift

    public private(set) var printData: PrintData?
  • Balance counters.

    Declaration

    Swift

    public private(set) var counters: Counters?
  • Partial exceptions due to one or more Omni-Channel clients failing. If list is empty all Omni-Channel clients finished balance successfully. If list is not empty {@link Terminal#balance} or {@link Terminal#balanceAsync} has to be called again to retry balance on the failed clients.

    Declaration

    Swift

    public private(set) var partialExceptions: [Errors]
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }