TIM SDK
TIM API C
ta_s_receipt_formatter Struct Reference

Description

Struct knowing how to format transaction receipts using receipt item fields.

Use memset to clear struct to 0 then set the callback and user pointer. This struct is only used to initialize the formatter during a call to ta_receipt_formatter_create. Afterwards the callbacks can not be changed anymore as long as the formatter is alive.

Data Fields

ta_cb_receipt_formatter_format_receipt format_receipt
 Format receipt.
 
void * user_pointer
 User pointer.
 

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