TIM SDK
TIM API C
ta_s_custom_receipt_formatter_line_format Struct Reference

Description

Custom receipt formatter line definition.

Contains array of text elements.

Data Fields

const ta_s_custom_receipt_formatter_text_element_telements
 Array of elements in the line. More...
 
size_t element_count
 Number of elements in array.
 
ta_e_custom_receipt_formatter_condition_t condition
 
int condition_mask
 Condition mask. More...
 
int padding
 Padding character. More...
 

Field Documentation

◆ condition

ta_e_custom_receipt_formatter_condition_t ta_s_custom_receipt_formatter_line_format::condition
Deprecated:
Use condition mask.

◆ condition_mask

int ta_s_custom_receipt_formatter_line_format::condition_mask

Condition mask.

Set bit "1 << condition" to enable respective condition. Line is shown if at least one enabled condition is fulfilled.

Condition flag are values ta_crfc_* from ta_e_custom_receipt_formatter_condition_t.

◆ elements

const ta_s_custom_receipt_formatter_text_element_t* ta_s_custom_receipt_formatter_line_format::elements

Array of elements in the line.

Array has to point to valid memory location during construction of the object. After the object has been constructed the memory location can become invalid.

If array count is 0 the array pointer can be 0-pointer.

◆ padding

int ta_s_custom_receipt_formatter_line_format::padding

Padding character.

Character has to be a valid printable unicode character.


The documentation for this struct was generated from the following file: