TIM SDK
TIM API C
ta_s_custom_receipt_formatter_configuration Struct Reference

Description

Custom receipt formatter configuration.

Used by ta_custom_receipt_formatter_create to initialize formatter. After the object has been created the struct data is not required anymore.

Data Fields

const ta_s_custom_receipt_formatter_line_format_tcardholder
 Array pointing to line formats to use for cardholder receipts. More...
 
size_t cardholder_count
 Number of elements in cardholder array.
 
const ta_s_custom_receipt_formatter_line_format_tmerchant
 Array pointing to line formats to use for merchant receipts. More...
 
size_t merchant_count
 Number of elements in merchant array.
 
const ta_s_custom_receipt_formatter_line_format_tsaldo
 Array pointing to line formats to use for saldo part of receipts. More...
 
size_t saldo_count
 Number of elements in saldo array.
 
const char * empty_value
 String to use for not defined or empty values. More...
 
ta_e_boolean_t auto_add_headr
 

Field Documentation

◆ cardholder

const ta_s_custom_receipt_formatter_line_format_t* ta_s_custom_receipt_formatter_configuration::cardholder

Array pointing to line formats to use for cardholder receipts.

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.

◆ empty_value

const char* ta_s_custom_receipt_formatter_configuration::empty_value

String to use for not defined or empty values.

Points to a 0-terminated string. Recommended default value is "NA".

◆ merchant

const ta_s_custom_receipt_formatter_line_format_t* ta_s_custom_receipt_formatter_configuration::merchant

Array pointing to line formats to use for merchant receipts.

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.

◆ saldo

const ta_s_custom_receipt_formatter_line_format_t* ta_s_custom_receipt_formatter_configuration::saldo

Array pointing to line formats to use for saldo part of receipts.

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.


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