|
TIM SDK
TIM API C
|
|
Copyright: SIX Payment Services.
Data Structures | |
| struct | ta_s_currency |
Typedefs | |
| typedef struct ta_s_currency | ta_s_currency_t |
| typedef enum ta_e_currency | ta_e_currency_t |
Functions | |
| ta_e_result_code_t | ta_currency_with_code (const char *code, ta_e_currency_t *currency) |
| ta_e_result_code_t | ta_currency_get_parameters (ta_e_currency_t currency, ta_s_currency_t *parameters) |
| typedef enum ta_e_currency ta_e_currency_t |
Currency codes.
| typedef struct ta_s_currency ta_s_currency_t |
Currency code.
| enum ta_e_currency |
Currency codes.
| ta_e_result_code_t ta_currency_get_parameters | ( | ta_e_currency_t | currency, |
| ta_s_currency_t * | parameters | ||
| ) |
Get currency parameters.
| [in] | currency | Currency to get parameters for |
| [out] | parameters | Variable to write parameters to. |
| ta_c_rc_ok | Parameters written to parameters. |
| ta_c_rc_invalid_argument | currency is 0 pointer. |
| ta_c_rc_invalid_argument | parameters is 0 pointer. |
| ta_c_rc_invalid_argument | Invalid currency value. |
| ta_e_result_code_t ta_currency_with_code | ( | const char * | code, |
| ta_e_currency_t * | currency | ||
| ) |
Get enumeration value matching code.
| [in] | code | Code to look up |
| [out] | currency | Variable to write result to. |
| ta_c_rc_ok | Currency constant written to currency. Set to ta_c_currency_undefined if currency is not found. |
| ta_c_rc_invalid_argument | code is 0 pointer. |
| ta_c_rc_invalid_argument | currency is 0 pointer. |
| ta_c_rc_invalid_argument | Currency with code not found. |