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 { get } -
Receipt to print.
Declaration
Swift
public private(set) var value: String { get } -
Textual representation.
Declaration
Swift
public var description: String { get }