TIM SDK
TIM API C
|
|
Contains transaction details for counters.
Object type trx_detail.
Functions | |
ta_e_result_code_t | ta_trx_detail_get_dcc_flag (ta_object_t trx_detail, ta_e_boolean_t *dcc_flag) |
Specifies is a transaction is a DCC transaction or not. More... | |
ta_e_result_code_t | ta_trx_detail_get_transaction_type (ta_object_t trx_detail, ta_e_transaction_type_t *transaction_type) |
Transaction type this details affect. More... | |
ta_e_result_code_t | ta_trx_detail_get_count (ta_object_t trx_detail, int *count) |
Number of transactions covered by the sum. More... | |
ta_e_result_code_t | ta_trx_detail_get_amount_sum (ta_object_t trx_detail, ta_object_t *amount_sum) |
Total of amount. More... | |
ta_e_result_code_t ta_trx_detail_get_amount_sum | ( | ta_object_t | trx_detail, |
ta_object_t * | amount_sum | ||
) |
Total of amount.
[in] | trx_detail | Object instance of type trx_detail. |
[out] | amount_sum | Pointer to variable to write object instance to. Object instance is of type amount and is not retained. Object instance is ta_invalid_object if value is not set in trx_detail. |
ta_c_rc_ok | Object instance written to amount_sum. |
ta_c_rc_invalid_argument | trx_detail is ta_invalid_object. |
ta_c_rc_invalid_argument | trx_detail is not of type trx_detail. |
ta_c_rc_invalid_argument | amount_sum is null-pointer. |
ta_e_result_code_t ta_trx_detail_get_count | ( | ta_object_t | trx_detail, |
int * | count | ||
) |
Number of transactions covered by the sum.
[in] | trx_detail | Object instance of type trx_detail. |
[out] | count | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to count. |
ta_c_rc_invalid_argument | trx_detail is ta_invalid_object. |
ta_c_rc_invalid_argument | trx_detail is not of type trx_detail. |
ta_c_rc_invalid_argument | count is null-pointer. |
ta_e_result_code_t ta_trx_detail_get_dcc_flag | ( | ta_object_t | trx_detail, |
ta_e_boolean_t * | dcc_flag | ||
) |
Specifies is a transaction is a DCC transaction or not.
[in] | trx_detail | Object instance of type trx_detail. |
[out] | dcc_flag | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to dcc_flag. |
ta_c_rc_invalid_argument | trx_detail is ta_invalid_object. |
ta_c_rc_invalid_argument | trx_detail is not of type trx_detail. |
ta_c_rc_invalid_argument | dcc_flag is null-pointer. |
ta_e_result_code_t ta_trx_detail_get_transaction_type | ( | ta_object_t | trx_detail, |
ta_e_transaction_type_t * | transaction_type | ||
) |
Transaction type this details affect.
[in] | trx_detail | Object instance of type trx_detail. |
[out] | transaction_type | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to transaction_type. |
ta_c_rc_invalid_argument | trx_detail is ta_invalid_object. |
ta_c_rc_invalid_argument | trx_detail is not of type trx_detail. |
ta_c_rc_invalid_argument | transaction_type is null-pointer. |