TIM SDK
TIM API C
|
|
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_t * | cardholder |
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_t * | merchant |
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_t * | saldo |
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 |
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.
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".
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.
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.