TIM SDK
TIM API C
client_identification_response.h File Reference

Description

Client identification response.

Object type client_identification_response.

Functions

ta_e_result_code_t ta_client_identification_response_get_amount_saldo (ta_object_t response, ta_object_t *amount_saldo)
 Saldo amount if present. More...
 
ta_e_result_code_t ta_client_identification_response_get_transaction_information (ta_object_t response, ta_object_t *transaction_information)
 Information about completed transaction. More...
 
ta_e_result_code_t ta_client_identification_response_get_card_data (ta_object_t response, ta_object_t *card_data)
 Information about payment card used by the cardholder if present. More...
 

Function Documentation

◆ ta_client_identification_response_get_amount_saldo()

ta_e_result_code_t ta_client_identification_response_get_amount_saldo ( ta_object_t  response,
ta_object_t amount_saldo 
)

Saldo amount if present.

Parameters
[in]responseObject instance of type client_identification_response.
[out]amount_saldoPointer to variable to write object instance to. Object instance is of type amount 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 amount_saldo.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type client_identification_response.
ta_c_rc_invalid_argumentamount_saldo is null-pointer.

◆ ta_client_identification_response_get_card_data()

ta_e_result_code_t ta_client_identification_response_get_card_data ( ta_object_t  response,
ta_object_t card_data 
)

Information about payment card used by the cardholder if present.

Parameters
[in]responseObject instance of type client_identification_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 client_identification_response.
ta_c_rc_invalid_argumentcard_data is null-pointer.

◆ ta_client_identification_response_get_transaction_information()

ta_e_result_code_t ta_client_identification_response_get_transaction_information ( ta_object_t  response,
ta_object_t transaction_information 
)

Information about completed transaction.

Parameters
[in]responseObject instance of type client_identification_response.
[out]transaction_informationPointer to variable to write object instance to. Object instance is of type transaction_information 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 transaction_information.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type client_identification_response.
ta_c_rc_invalid_argumenttransaction_information is null-pointer.