TIM SDK
TIM API C
init_transaction_response.h File Reference

Description

Init transaction response.

Object type init_transaction_response.

Functions

ta_e_result_code_t ta_init_transaction_response_get_reason (ta_object_t response, ta_e_reason_t *reason)
 Reason for closing dialog. More...
 
ta_e_result_code_t ta_init_transaction_response_get_card_data (ta_object_t response, ta_object_t *card_data)
 Card data or ta_object_invalid if absent. More...
 

Function Documentation

◆ ta_init_transaction_response_get_card_data()

ta_e_result_code_t ta_init_transaction_response_get_card_data ( ta_object_t  response,
ta_object_t card_data 
)

Card data or ta_object_invalid if absent.

Parameters
[in]responseObject instance of type init_transaction_response.
[out]card_dataPointer to variable to write object instance to. Object instance is of type card_data and is not retained. Object instance is ta_object_invalid if value is not set in response.
Return values
ta_c_rc_okObject instance written to card_data.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type init_transaction_response.
ta_c_rc_invalid_argumentcard_data is null-pointer.

◆ ta_init_transaction_response_get_reason()

ta_e_result_code_t ta_init_transaction_response_get_reason ( ta_object_t  response,
ta_e_reason_t reason 
)

Reason for closing dialog.

Parameters
[in]responseObject instance of type init_transaction_response.
[out]reasonPointer to variable to write value to.
Return values
ta_c_rc_okObject instance written to reason.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type init_transaction_response.
ta_c_rc_invalid_argumentreason is null-pointer.