Class Receipt


  • public class Receipt
    extends Object
    Contains a receipt to be printed by the ECR. Immutable class.
    • Constructor Detail

      • Receipt

        public Receipt​(Recipient recipient,
                       String value)
        Create receipt.
    • Method Detail

      • getRecipient

        public Recipient getRecipient()
        Recipient of the receipt.
      • getValue

        public String getValue()
        Receipt to print.
      • toString

        public String toString()
        String representation for debugging purpose.
        Overrides:
        toString in class Object