|
TIM SDK
TIM API C
|
|
Native error.
Object type native_error.
Functions | |
| ta_e_result_code_t | ta_native_error_get_code (ta_object_t response, int *code) |
| Error code. More... | |
| ta_e_result_code_t | ta_native_error_get_message (ta_object_t response, ta_object_t *message) |
| Print information for merchant receipt. More... | |
| ta_e_result_code_t | ta_native_error_get_source (ta_object_t response, ta_object_t *source) |
| Print information for merchant receipt. More... | |
| ta_e_result_code_t ta_native_error_get_code | ( | ta_object_t | response, |
| int * | code | ||
| ) |
Error code.
| [in] | response | Object instance of type native_error. |
| [out] | code | Pointer to variable to write value to. |
| ta_c_rc_ok | Value written to code. |
| ta_c_rc_invalid_argument | response is ta_object_invalid. |
| ta_c_rc_invalid_argument | response is not of type native_error. |
| ta_c_rc_invalid_argument | code is null-pointer. |
| ta_e_result_code_t ta_native_error_get_message | ( | ta_object_t | response, |
| ta_object_t * | message | ||
| ) |
Print information for merchant receipt.
| [in] | response | Object instance of type native_error. |
| [out] | message | Pointer 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. |
| ta_c_rc_ok | Object instance written to message. |
| ta_c_rc_invalid_argument | response is ta_object_invalid. |
| ta_c_rc_invalid_argument | response is not of type native_error. |
| ta_c_rc_invalid_argument | message is null-pointer. |
| ta_e_result_code_t ta_native_error_get_source | ( | ta_object_t | response, |
| ta_object_t * | source | ||
| ) |
Print information for merchant receipt.
| [in] | response | Object instance of type native_error. |
| [out] | source | Pointer 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. |
| ta_c_rc_ok | Object instance written to source. |
| ta_c_rc_invalid_argument | response is ta_object_invalid. |
| ta_c_rc_invalid_argument | response is not of type native_error. |
| ta_c_rc_invalid_argument | source is null-pointer. |