TIM SDK
TIM API C
|
|
Terminal status.
Object type terminal_status.
ta_e_result_code_t ta_terminal_status_get_card_data | ( | ta_object_t | terminal_status, |
ta_object_t * | card_data | ||
) |
Information about payment card used by the customer if present.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | card_data | Pointer to variable to write object instance to. Object instance is of type card_data and is not retained. Object instance is ta_invalid_object if value is not set in terminal_status. |
ta_c_rc_ok | Object instance written to card_data. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | card_data is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_card_reader_status | ( | ta_object_t | terminal_status, |
ta_e_card_reader_status_t * | card_reader_status | ||
) |
Status of card reader attached to EFT Terminal.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | card_reader_status | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to card_reader_status. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | card_reader_status is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_connection_status | ( | ta_object_t | terminal_status, |
ta_e_connection_status_t * | connection_status | ||
) |
Connection status of the EFT Terminal.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | connection_status | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to connection_status. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | connection_status is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_display_content | ( | ta_object_t | terminal_status, |
ta_object_t * | display_content | ||
) |
Content of display on EFT Terminal.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | display_content | Pointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type string. |
ta_c_rc_ok | Object instance written to display_content. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | display_content is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_final_amount | ( | ta_object_t | terminal_status, |
ta_object_t * | amount | ||
) |
If the amount of the original transaction has been adjusted.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | amount | Pointer to variable to write object instance to. Object instance is of type amount_final and is not retained. Object instance is ta_invalid_object if value is not set in terminal_status. |
ta_c_rc_ok | Object instance written to card_data. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | amount is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_management_status | ( | ta_object_t | terminal_status, |
ta_e_management_status_t * | management_status | ||
) |
Management status of the EFT Terminal.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | management_status | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to management_status. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | management_status is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_receipt_information | ( | ta_object_t | terminal_status, |
ta_e_boolean_t * | receipt_information | ||
) |
Receipts can be retrieved.
Use ta_terminal_receipt_request or ta_terminal_receipt_request_async.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | receipt_information | Pointer to variable to write value to. Value is ta_c_b_undefined if value is not set in terminal_status. |
ta_c_rc_ok | Value written to receipt_information. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | receipt_information is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_sleep_mode_status | ( | ta_object_t | terminal_status, |
ta_e_sleep_mode_status_t * | sleep_mode_status | ||
) |
Sleep mode status of EFT Terminal.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | sleep_mode_status | Pointer to variable to write value to. Value is ta_c_sms_undefined if value is not set in terminal_status. |
ta_c_rc_ok | Value written to sleep_mode_status. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | sleep_mode_status is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_sw_update_available | ( | ta_object_t | terminal_status, |
ta_e_boolean_t * | sw_update_available | ||
) |
Software update is available.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | sw_update_available | Pointer to variable to write value to. Value is ta_c_b_undefined if value is not set in terminal_status. |
ta_c_rc_ok | Value written to sw_update_available. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | sw_update_available is null-pointer. |
ta_e_result_code_t ta_terminal_status_get_transaction_status | ( | ta_object_t | terminal_status, |
ta_e_transaction_status_t * | transaction_status | ||
) |
Transaction status of EFT Terminal.
[in] | terminal_status | Object instance of type terminal_status. |
[out] | transaction_status | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to transaction_status. |
ta_c_rc_invalid_argument | terminal_status is ta_invalid_object. |
ta_c_rc_invalid_argument | terminal_status is not of type terminal_status. |
ta_c_rc_invalid_argument | transaction_status is null-pointer. |