TIM SDK
TIM API C
receipt_request_response.h File Reference

Description

Receipt request Response.

Object type receipt_request_response.

Functions

ta_e_result_code_t ta_receipt_request_response_get_print_data (ta_object_t response, ta_object_t *print_data)
 Print information for receipts to print by the ECR. More...
 
ta_e_result_code_t ta_receipt_request_response_get_has_more_receipts (ta_object_t response, ta_e_boolean_t *has_more_receipts)
 More receipts can be requested (maximum transmit receipts limit). More...
 

Function Documentation

◆ ta_receipt_request_response_get_has_more_receipts()

ta_e_result_code_t ta_receipt_request_response_get_has_more_receipts ( ta_object_t  response,
ta_e_boolean_t has_more_receipts 
)

More receipts can be requested (maximum transmit receipts limit).

Parameters
[in]responseObject instance of type receipt_request_response.
[out]has_more_receiptsPointer to variable to write value to.
Return values
ta_c_rc_okObject instance written to has_more_receipts.
ta_c_rc_invalid_argumentresponse is ta_invalid_object.
ta_c_rc_invalid_argumentresponse is not of type receipt_request_response.
ta_c_rc_invalid_argumenthas_more_receipts is null-pointer.

◆ ta_receipt_request_response_get_print_data()

ta_e_result_code_t ta_receipt_request_response_get_print_data ( ta_object_t  response,
ta_object_t print_data 
)

Print information for receipts to print by the ECR.

Parameters
[in]responseObject instance of type receipt_request_response.
[out]print_dataPointer to variable to write object instance to. Object instance is of type print_data and is not retained. Object instance is ta_invalid_object if value is not set in response.
Return values
ta_c_rc_okObject instance written to print_data.
ta_c_rc_invalid_argumentresponse is ta_invalid_object.
ta_c_rc_invalid_argumentresponse is not of type receipt_request_response.
ta_c_rc_invalid_argumentprint_data is null-pointer.