ReceiptRequestResponse

public class ReceiptRequestResponse : CustomStringConvertible

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

  • Create receipt request response.

    Declaration

    Swift

    public init(printData: PrintData?, hasMoreReceipts: Bool)
  • Print information for receipts to print by the ECR.

    Declaration

    Swift

    public private(set) var printData: PrintData?
  • States if the maximum number of receipts has been transmitted and more receipts can be requested.

    Declaration

    Swift

    public private(set) var hasMoreReceipts: Bool
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }