TIM SDK
TIM API C
transaction_info_request_response.h File Reference

Description

Transaction info request Response.

Object type transaction_info_request_response.

Functions

ta_e_result_code_t ta_transaction_info_request_response_get_transaction_type (ta_object_t response, ta_e_transaction_type_t *transaction_type)
 Transaction type. More...
 
ta_e_result_code_t ta_transaction_info_request_response_get_outcome (ta_object_t response, ta_e_outcome_t *outcome)
 Outcome. More...
 
ta_e_result_code_t ta_transaction_info_request_response_get_transaction_response (ta_object_t response, ta_object_t *transaction_response)
 Transaction response. More...
 
ta_e_result_code_t ta_transaction_info_request_response_get_error (ta_object_t response, ta_object_t *error)
 Error. More...
 
ta_e_result_code_t ta_transaction_info_request_response_get_last_status_receipt (ta_object_t response, ta_object_t *last_status_receipt)
 Last status receipt. More...
 

Function Documentation

◆ ta_transaction_info_request_response_get_error()

ta_e_result_code_t ta_transaction_info_request_response_get_error ( ta_object_t  response,
ta_object_t error 
)

Error.

Parameters
[in]responseObject instance of type transaction_info_request_response.
[out]errorPointer to variable to write object instance to. Object instance is of type tim_error 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 transaction_info_request_response.
ta_c_rc_invalid_argumenterror is null-pointer.

◆ ta_transaction_info_request_response_get_last_status_receipt()

ta_e_result_code_t ta_transaction_info_request_response_get_last_status_receipt ( ta_object_t  response,
ta_object_t last_status_receipt 
)

Last status receipt.

Parameters
[in]responseObject instance of type transaction_info_request_response.
[out]last_status_receiptPointer 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 transaction_info_request_response.
ta_c_rc_invalid_argumentlast_status_receipt is null-pointer.

◆ ta_transaction_info_request_response_get_outcome()

ta_e_result_code_t ta_transaction_info_request_response_get_outcome ( ta_object_t  response,
ta_e_outcome_t outcome 
)

Outcome.

Parameters
[in]responseObject instance of type transaction_info_request_response.
[out]outcomePointer to variable to write result code to. Variable is set to ta_c_o_undefined if value is not set in response.
Return values
ta_c_rc_okValue written to outcome.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type transaction_info_request_response.
ta_c_rc_invalid_argumentoutcome is null-pointer.

◆ ta_transaction_info_request_response_get_transaction_response()

ta_e_result_code_t ta_transaction_info_request_response_get_transaction_response ( ta_object_t  response,
ta_object_t transaction_response 
)

Transaction response.

Parameters
[in]responseObject instance of type transaction_info_request_response.
[out]transaction_responsePointer to variable to write object instance to. Object instance is of type transaction_response 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 transaction_info_request_response.
ta_c_rc_invalid_argumenttransaction_response is null-pointer.

◆ ta_transaction_info_request_response_get_transaction_type()

ta_e_result_code_t ta_transaction_info_request_response_get_transaction_type ( ta_object_t  response,
ta_e_transaction_type_t transaction_type 
)

Transaction type.

Parameters
[in]responseObject instance of type transaction_info_request_response.
[out]functionPointer 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 function.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type transaction_info_request_response.
ta_c_rc_invalid_argumentfunction is null-pointer.