Class: CustomReceiptFormatter

timapi.CustomReceiptFormatter()

Format transaction receipts using string formating definition. This class only defines the custom receipt formatter. By calling timapi.Terminal.setCustomReceiptFormatter() an internal custom receipt formatter object is created using the configuration of this class.

Classes

LineFormat
TextElement

Overview

Members-Overview

Methods-Overview

Constructor

new CustomReceiptFormatter()

Create custom receipt formatter definition.

Member-List

Condition (static)

Conditions.

TextAlignment (static)

Text alignment.

TextType (static)

Text types.

emptyValueString :string

String to use for not defined or empty values.

lineFormatsCardholder :Array.<timapi.CustomReceiptFormatter.LineFormat>

Line formats for cardholder receipts.

lineFormatsMerchant :Array.<timapi.CustomReceiptFormatter.LineFormat>

Line formats for merchant receipts.

lineFormatsSaldo :Array.<timapi.CustomReceiptFormatter.LineFormat>

Line formats for saldo lines used on both receipt types.

Methods

copy()

Create copy of custom receipt formatter.