Receipt

public class Receipt : CustomStringConvertible

Contains a receipt to be printed by the ECR. Immutable class.

  • Create receipt.

    Declaration

    Swift

    public init(recipient: CRecipient, value: String)
  • Recipient of the receipt.

    Declaration

    Swift

    public private(set) var recipient: CRecipient
  • Receipt to print.

    Declaration

    Swift

    public private(set) var value: String
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }