TIM SDK
TIM API C
config_data.h File Reference

Description

Config data.

Object type config_data.

Functions

ta_e_result_code_t ta_config_data_get_receipt_header (ta_object_t config_data, ta_object_t *receipt_header)
 List of text lines forming the receipt header. More...
 
ta_e_result_code_t ta_config_data_get_language (ta_object_t config_data, ta_object_t *language)
 Language to use for printing receipts. More...
 

Function Documentation

◆ ta_config_data_get_language()

ta_e_result_code_t ta_config_data_get_language ( ta_object_t  config_data,
ta_object_t language 
)

Language to use for printing receipts.

Parameters
[in]config_dataObject instance of type config_data.
[out]languagePointer to variable to write object instance to. Object instance is of type string and is not retained.
Return values
ta_c_rc_okObject instance written to language.
ta_c_rc_invalid_argumentconfig_data is ta_object_invalid.
ta_c_rc_invalid_argumentconfig_data is not of type config_data.
ta_c_rc_invalid_argumentlanguage is null-pointer.

◆ ta_config_data_get_receipt_header()

ta_e_result_code_t ta_config_data_get_receipt_header ( ta_object_t  config_data,
ta_object_t receipt_header 
)

List of text lines forming the receipt header.

Parameters
[in]config_dataObject instance of type config_data.
[out]receipt_headerPointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type string.
Return values
ta_c_rc_okObject instance written to receipt_header.
ta_c_rc_invalid_argumentconfig_data is ta_object_invalid.
ta_c_rc_invalid_argumentconfig_data is not of type config_data.
ta_c_rc_invalid_argumentreceipt_header is null-pointer.