|
TIM SDK
TIM API C
|
|
Custom receipt formatter text element definition.
Can be static text or dynamic content. Used during construction of object.
Data Fields | |
| ta_e_custom_receipt_formatter_text_type_t | type |
| Element type. | |
| ta_e_custom_receipt_formatter_text_alignment_t | alignment |
| Element alignment. | |
| const char * | text |
| Static text if type is ta_c_crftt_text. More... | |
| ta_e_custom_receipt_formatter_translated_text_t | translated_text |
| Translated text if type is ta_c_crftt_text. More... | |
| ta_e_receipt_type_t | receipt_type |
| Show element only if receipt if of a given type. More... | |
| ta_e_receipt_type_t ta_s_custom_receipt_formatter_text_element::receipt_type |
Show element only if receipt if of a given type.
Use ta_c_rt_undefined to always show.
| const char* ta_s_custom_receipt_formatter_text_element::text |
Static text if type is ta_c_crftt_text.
If used points to a 0-terminate string. If not used set to 0-pointer. If used the string is copied during construction of object.
| ta_e_custom_receipt_formatter_translated_text_t ta_s_custom_receipt_formatter_text_element::translated_text |
Translated text if type is ta_c_crftt_text.
If not ta_crftt_undefined the text is used as format string (allowed is only one single "%s" token) with the translated text applied to it.