TIM SDK
TIM API C
balance_inquiry_response.h File Reference

Description

Balance inquiry Response.

Object type balance_inquiry_response.

Functions

ta_e_result_code_t ta_balance_inquiry_response_get_amount (ta_object_t response, ta_object_t *amount)
 Amount authorized by the transaction or ta_object_invalid if not provided by EFT. More...
 
ta_e_result_code_t ta_balance_inquiry_response_get_print_data (ta_object_t response, ta_object_t *print_data)
 Print information for merchant and cardholder receipts. More...
 
ta_e_result_code_t ta_balance_inquiry_response_get_card_data (ta_object_t response, ta_object_t *card_data)
 Card data. More...
 
ta_e_result_code_t ta_balance_inquiry_response_get_disclaimer (ta_object_t response, ta_object_t *disclaimer)
 Disclaimer. More...
 
ta_e_result_code_t ta_balance_inquiry_response_get_transaction_information (ta_object_t response, ta_object_t *transaction_information)
 Transaction information. More...
 

Function Documentation

◆ ta_balance_inquiry_response_get_amount()

ta_e_result_code_t ta_balance_inquiry_response_get_amount ( ta_object_t  response,
ta_object_t amount 
)

Amount authorized by the transaction or ta_object_invalid if not provided by EFT.

Parameters
[in]responseObject instance of type balance_inquiry_response.
[out]amountPointer to variable to write object instance to. If provided by EFT object instance is of type amount and is not retained. If not provided by EFT ta_object_invalid is written to pointer.
Return values
ta_c_rc_okObject instance written to amount.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type balance_inquiry_response.
ta_c_rc_invalid_argumentamount is null-pointer.

◆ ta_balance_inquiry_response_get_card_data()

ta_e_result_code_t ta_balance_inquiry_response_get_card_data ( ta_object_t  response,
ta_object_t card_data 
)

Card data.

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

◆ ta_balance_inquiry_response_get_disclaimer()

ta_e_result_code_t ta_balance_inquiry_response_get_disclaimer ( ta_object_t  response,
ta_object_t disclaimer 
)

Disclaimer.

Parameters
[in]responseObject instance of type balance_inquiry_response.
[out]disclaimerPointer to variable to write object instance to. Object instance is of type string 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 disclaimer.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type balance_inquiry_response.
ta_c_rc_invalid_argumentdisclaimer is null-pointer.

◆ ta_balance_inquiry_response_get_print_data()

ta_e_result_code_t ta_balance_inquiry_response_get_print_data ( ta_object_t  response,
ta_object_t print_data 
)

Print information for merchant and cardholder receipts.

Parameters
[in]responseObject instance of type balance_inquiry_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_object_invalid 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_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type balance_inquiry_response.
ta_c_rc_invalid_argumentprint_data is null-pointer.

◆ ta_balance_inquiry_response_get_transaction_information()

ta_e_result_code_t ta_balance_inquiry_response_get_transaction_information ( ta_object_t  response,
ta_object_t transaction_information 
)

Transaction information.

Parameters
[in]responseObject instance of type balance_inquiry_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 balance_inquiry_response.
ta_c_rc_invalid_argumenttransaction_information is null-pointer.