Class PaymentReceipt

java.lang.Object
eu.ccvlab.mapi.core.payment.PaymentReceipt

public class PaymentReceipt extends Object
  • Field Details

    • formattedTextLines

      private List<TextLine> formattedTextLines
    • signature

      private byte[] signature
    • barcode

      private eu.ccvlab.mapi.core.payment.receipt.Barcode barcode
    • printingRequired

      private Boolean printingRequired
  • Constructor Details

    • PaymentReceipt

      private PaymentReceipt()
    • PaymentReceipt

      private PaymentReceipt(List<TextLine> formattedTextLines, byte[] signature)
  • Method Details

    • plainTextLines

      public List<String> plainTextLines()
      Returns the lines to be printed on the receipt.
      Returns:
      Lines to be printed on receipt.
    • formattedTextLines

      public List<TextLine> formattedTextLines()
    • signature

      public byte[] signature()
      Contains the image of the customer's signature. (Optional)
      Returns:
      image of signature or null if the image is not available.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFormattedTextLines

      public List<TextLine> getFormattedTextLines()
    • getSignature

      public byte[] getSignature()
    • getLogo

      public eu.ccvlab.mapi.core.payment.receipt.Logo getLogo()
    • getBarcode

      public eu.ccvlab.mapi.core.payment.receipt.Barcode getBarcode()
    • getPrintingRequired

      public Boolean getPrintingRequired()