ReceiptOptions class abstract

ReceiptOptions

Properties:

  • logo - The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px.
  • promptBeforePrinting - Indicates whether a screen appears asking if you want to print the shopper receipt.
  • qrCodeData - Data to print on the receipt as a QR code. This can include static text and the following variables: - ${merchantreference}: the merchant reference of the transaction. - ${pspreference}: the PSP reference of the transaction. For example, http://www.example.com/order/${pspreference}/${merchantreference}.
Annotations
  • @BuiltValue.new()

Constructors

ReceiptOptions([void updates(ReceiptOptionsBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
The receipt logo converted to a Base64-encoded string. The image must be a .bmp file of < 256 KB, dimensions 240 (H) x 384 (W) px.
no setter
promptBeforePrinting bool?
Indicates whether a screen appears asking if you want to print the shopper receipt.
no setter
qrCodeData String?
Data to print on the receipt as a QR code. This can include static text and the following variables: - ${merchantreference}: the merchant reference of the transaction. - ${pspreference}: the PSP reference of the transaction. For example, http://www.example.com/order/${pspreference}/${merchantreference}.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ReceiptOptionsBuilder)) ReceiptOptions
Rebuilds the instance.
inherited
toBuilder() ReceiptOptionsBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<ReceiptOptions>
no setter