TIM SDK
TIM API C
currency.h File Reference

Description

Warning
This file is generated. Do not edit.

Copyright: Worldline.

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
 

Enumerations

enum  ta_e_currency {
  ta_c_currency_undefined, ta_c_currency_aed, ta_c_currency_afn, ta_c_currency_all,
  ta_c_currency_amd, ta_c_currency_ang, ta_c_currency_aoa, ta_c_currency_ars,
  ta_c_currency_aud, ta_c_currency_awg, ta_c_currency_azn, ta_c_currency_bam,
  ta_c_currency_bbd, ta_c_currency_bdt, ta_c_currency_bgn, ta_c_currency_bhd,
  ta_c_currency_bif, ta_c_currency_bmd, ta_c_currency_bnd, ta_c_currency_bob,
  ta_c_currency_bov, ta_c_currency_brl, ta_c_currency_bsd, ta_c_currency_btn,
  ta_c_currency_bwp, ta_c_currency_byn, ta_c_currency_byr, ta_c_currency_bzd,
  ta_c_currency_cad, ta_c_currency_cdf, ta_c_currency_che, ta_c_currency_chf,
  ta_c_currency_chw, ta_c_currency_clf, ta_c_currency_clp, ta_c_currency_cny,
  ta_c_currency_cop, ta_c_currency_cou, ta_c_currency_crc, ta_c_currency_cuc,
  ta_c_currency_cup, ta_c_currency_cve, ta_c_currency_czk, ta_c_currency_djf,
  ta_c_currency_dkk, ta_c_currency_dop, ta_c_currency_dzd, ta_c_currency_egp,
  ta_c_currency_ern, ta_c_currency_etb, ta_c_currency_eur, ta_c_currency_fjd,
  ta_c_currency_fkp, ta_c_currency_gbp, ta_c_currency_gel, ta_c_currency_ghs,
  ta_c_currency_gip, ta_c_currency_gmd, ta_c_currency_gnf, ta_c_currency_gtq,
  ta_c_currency_gyd, ta_c_currency_hkd, ta_c_currency_hnl, ta_c_currency_hrk,
  ta_c_currency_htg, ta_c_currency_huf, ta_c_currency_idr, ta_c_currency_ils,
  ta_c_currency_inr, ta_c_currency_iqd, ta_c_currency_irr, ta_c_currency_isk,
  ta_c_currency_jmd, ta_c_currency_jod, ta_c_currency_jpy, ta_c_currency_kes,
  ta_c_currency_kgs, ta_c_currency_khr, ta_c_currency_kmf, ta_c_currency_kpw,
  ta_c_currency_krw, ta_c_currency_kwd, ta_c_currency_kyd, ta_c_currency_kzt,
  ta_c_currency_lak, ta_c_currency_lbp, ta_c_currency_lkr, ta_c_currency_lrd,
  ta_c_currency_lsl, ta_c_currency_lyd, ta_c_currency_mad, ta_c_currency_mdl,
  ta_c_currency_mga, ta_c_currency_mkd, ta_c_currency_mmk, ta_c_currency_mnt,
  ta_c_currency_mop, ta_c_currency_mro, ta_c_currency_mur, ta_c_currency_mvr,
  ta_c_currency_mwk, ta_c_currency_mxn, ta_c_currency_mxv, ta_c_currency_myr,
  ta_c_currency_mzn, ta_c_currency_nad, ta_c_currency_ngn, ta_c_currency_nio,
  ta_c_currency_nok, ta_c_currency_npr, ta_c_currency_nzd, ta_c_currency_omr,
  ta_c_currency_pab, ta_c_currency_pen, ta_c_currency_pgk, ta_c_currency_php,
  ta_c_currency_pkr, ta_c_currency_pln, ta_c_currency_pts, ta_c_currency_pyg,
  ta_c_currency_qar, ta_c_currency_ron, ta_c_currency_rsd, ta_c_currency_rub,
  ta_c_currency_rwf, ta_c_currency_sar, ta_c_currency_sbd, ta_c_currency_scr,
  ta_c_currency_sdg, ta_c_currency_sek, ta_c_currency_sgd, ta_c_currency_shp,
  ta_c_currency_sll, ta_c_currency_sos, ta_c_currency_srd, ta_c_currency_ssp,
  ta_c_currency_std, ta_c_currency_svc, ta_c_currency_syp, ta_c_currency_szl,
  ta_c_currency_thb, ta_c_currency_tjs, ta_c_currency_tmt, ta_c_currency_tnd,
  ta_c_currency_top, ta_c_currency_try, ta_c_currency_ttd, ta_c_currency_twd,
  ta_c_currency_tzs, ta_c_currency_uah, ta_c_currency_ugx, ta_c_currency_usd,
  ta_c_currency_usn, ta_c_currency_uyi, ta_c_currency_uyu, ta_c_currency_uzs,
  ta_c_currency_vef, ta_c_currency_vnd, ta_c_currency_vuv, ta_c_currency_wst,
  ta_c_currency_xaf, ta_c_currency_xag, ta_c_currency_xau, ta_c_currency_xba,
  ta_c_currency_xbb, ta_c_currency_xbc, ta_c_currency_xbd, ta_c_currency_xcd,
  ta_c_currency_xdr, ta_c_currency_xof, ta_c_currency_xpd, ta_c_currency_xpf,
  ta_c_currency_xpt, ta_c_currency_xsu, ta_c_currency_xts, ta_c_currency_xua,
  ta_c_currency_xxx, ta_c_currency_yer, ta_c_currency_zar, ta_c_currency_zmw,
  ta_c_currency_zwl
}
 

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 Documentation

◆ ta_e_currency_t

Currency codes.

◆ ta_s_currency_t

Currency code.

Enumeration Type Documentation

◆ ta_e_currency

Currency codes.

Enumerator
ta_c_currency_undefined 

Undefined/invalid currency code.

ta_c_currency_aed 

UAE Dirham.

ta_c_currency_afn 

Afghani.

ta_c_currency_all 

Lek.

ta_c_currency_amd 

Armenian Dram.

ta_c_currency_ang 

Netherlands Antillean Guilder.

ta_c_currency_aoa 

Kwanza.

ta_c_currency_ars 

Argentine Peso.

ta_c_currency_aud 

Australian Dollar.

ta_c_currency_awg 

Aruban Florin.

ta_c_currency_azn 

Azerbaijanian Manat.

ta_c_currency_bam 

Convertible Mark.

ta_c_currency_bbd 

Barbados Dollar.

ta_c_currency_bdt 

Taka.

ta_c_currency_bgn 

Bulgarian Lev.

ta_c_currency_bhd 

Bahraini Dinar.

ta_c_currency_bif 

Burundi Franc.

ta_c_currency_bmd 

Bermudian Dollar.

ta_c_currency_bnd 

Brunei Dollar.

ta_c_currency_bob 

Boliviano.

ta_c_currency_bov 

Mvdol.

ta_c_currency_brl 

Brazilian Real.

ta_c_currency_bsd 

Bahamian Dollar.

ta_c_currency_btn 

Ngultrum.

ta_c_currency_bwp 

Pula.

ta_c_currency_byn 

Belarusian Ruble.

ta_c_currency_byr 

Belarusian Ruble.

ta_c_currency_bzd 

Belize Dollar.

ta_c_currency_cad 

Canadian Dollar.

ta_c_currency_cdf 

Congolese Franc.

ta_c_currency_che 

WIR Euro.

ta_c_currency_chf 

Swiss Franc.

ta_c_currency_chw 

WIR Franc.

ta_c_currency_clf 

Unidad de Fomento.

ta_c_currency_clp 

Chilean Peso.

ta_c_currency_cny 

Yuan Renminbi.

ta_c_currency_cop 

Colombian Peso.

ta_c_currency_cou 

Unidad de Valor Real.

ta_c_currency_crc 

Costa Rican Colon.

ta_c_currency_cuc 

Peso Convertible.

ta_c_currency_cup 

Cuban Peso.

ta_c_currency_cve 

Cabo Verde Escudo.

ta_c_currency_czk 

Czech Koruna.

ta_c_currency_djf 

Djibouti Franc.

ta_c_currency_dkk 

Danish Krone.

ta_c_currency_dop 

Dominican Peso.

ta_c_currency_dzd 

Algerian Dinar.

ta_c_currency_egp 

Egyptian Pound.

ta_c_currency_ern 

Nakfa.

ta_c_currency_etb 

Ethiopian Birr.

ta_c_currency_eur 

Euro.

ta_c_currency_fjd 

Fiji Dollar.

ta_c_currency_fkp 

Falkland Islands Pound.

ta_c_currency_gbp 

Pound Sterling.

ta_c_currency_gel 

Lari.

ta_c_currency_ghs 

Ghana Cedi.

ta_c_currency_gip 

Gibraltar Pound.

ta_c_currency_gmd 

Dalasi.

ta_c_currency_gnf 

Guinea Franc.

ta_c_currency_gtq 

Quetzal.

ta_c_currency_gyd 

Guyana Dollar.

ta_c_currency_hkd 

Hong Kong Dollar.

ta_c_currency_hnl 

Lempira.

ta_c_currency_hrk 

Kuna.

ta_c_currency_htg 

Gourde.

ta_c_currency_huf 

Forint.

ta_c_currency_idr 

Rupiah.

ta_c_currency_ils 

New Israeli Sheqel.

ta_c_currency_inr 

Indian Rupee.

ta_c_currency_iqd 

Iraqi Dinar.

ta_c_currency_irr 

Iranian Rial.

ta_c_currency_isk 

Iceland Krona.

ta_c_currency_jmd 

Jamaican Dollar.

ta_c_currency_jod 

Jordanian Dinar.

ta_c_currency_jpy 

Yen.

ta_c_currency_kes 

Kenyan Shilling.

ta_c_currency_kgs 

Som.

ta_c_currency_khr 

Riel.

ta_c_currency_kmf 

Comoro Franc.

ta_c_currency_kpw 

North Korean Won.

ta_c_currency_krw 

Won.

ta_c_currency_kwd 

Kuwaiti Dinar.

ta_c_currency_kyd 

Cayman Islands Dollar.

ta_c_currency_kzt 

Tenge.

ta_c_currency_lak 

Kip.

ta_c_currency_lbp 

Lebanese Pound.

ta_c_currency_lkr 

Sri Lanka Rupee.

ta_c_currency_lrd 

Liberian Dollar.

ta_c_currency_lsl 

Loti.

ta_c_currency_lyd 

Libyan Dinar.

ta_c_currency_mad 

Moroccan Dirham.

ta_c_currency_mdl 

Moldovan Leu.

ta_c_currency_mga 

Malagasy Ariary.

ta_c_currency_mkd 

Denar.

ta_c_currency_mmk 

Kyat.

ta_c_currency_mnt 

Tugrik.

ta_c_currency_mop 

Pataca.

ta_c_currency_mro 

Ouguiya.

ta_c_currency_mur 

Mauritius Rupee.

ta_c_currency_mvr 

Rufiyaa.

ta_c_currency_mwk 

Malawi Kwacha.

ta_c_currency_mxn 

Mexican Peso.

ta_c_currency_mxv 

Mexican Unidad de Inversion (UDI).

ta_c_currency_myr 

Malaysian Ringgit.

ta_c_currency_mzn 

Mozambique Metical.

ta_c_currency_nad 

Namibia Dollar.

ta_c_currency_ngn 

Naira.

ta_c_currency_nio 

Cordoba Oro.

ta_c_currency_nok 

Norwegian Krone.

ta_c_currency_npr 

Nepalese Rupee.

ta_c_currency_nzd 

New Zealand Dollar.

ta_c_currency_omr 

Rial Omani.

ta_c_currency_pab 

Balboa.

ta_c_currency_pen 

Sol.

ta_c_currency_pgk 

Kina.

ta_c_currency_php 

Philippine Peso.

ta_c_currency_pkr 

Pakistan Rupee.

ta_c_currency_pln 

Zloty.

ta_c_currency_pts 

VM Loyalty.

ta_c_currency_pyg 

Guarani.

ta_c_currency_qar 

Qatari Rial.

ta_c_currency_ron 

Romanian Leu.

ta_c_currency_rsd 

Serbian Dinar.

ta_c_currency_rub 

Russian Ruble.

ta_c_currency_rwf 

Rwanda Franc.

ta_c_currency_sar 

Saudi Riyal.

ta_c_currency_sbd 

Solomon Islands Dollar.

ta_c_currency_scr 

Seychelles Rupee.

ta_c_currency_sdg 

Sudanese Pound.

ta_c_currency_sek 

Swedish Krona.

ta_c_currency_sgd 

Singapore Dollar.

ta_c_currency_shp 

Saint Helena Pound.

ta_c_currency_sll 

Leone.

ta_c_currency_sos 

Somali Shilling.

ta_c_currency_srd 

Surinam Dollar.

ta_c_currency_ssp 

South Sudanese Pound.

ta_c_currency_std 

Dobra.

ta_c_currency_svc 

El Salvador Colon.

ta_c_currency_syp 

Syrian Pound.

ta_c_currency_szl 

Lilangeni.

ta_c_currency_thb 

Baht.

ta_c_currency_tjs 

Somoni.

ta_c_currency_tmt 

Turkmenistan New Manat.

ta_c_currency_tnd 

Tunisian Dinar.

ta_c_currency_top 

Pa’anga.

ta_c_currency_try 

Turkish Lira.

ta_c_currency_ttd 

Trinidad and Tobago Dollar.

ta_c_currency_twd 

New Taiwan Dollar.

ta_c_currency_tzs 

Tanzanian Shilling.

ta_c_currency_uah 

Hryvnia.

ta_c_currency_ugx 

Uganda Shilling.

ta_c_currency_usd 

US Dollar.

ta_c_currency_usn 

US Dollar (Next day).

ta_c_currency_uyi 

Uruguay Peso en Unidades Indexadas (URUIURUI).

ta_c_currency_uyu 

Peso Uruguayo.

ta_c_currency_uzs 

Uzbekistan Sum.

ta_c_currency_vef 

Bolívar.

ta_c_currency_vnd 

Dong.

ta_c_currency_vuv 

Vatu.

ta_c_currency_wst 

Tala.

ta_c_currency_xaf 

CFA Franc BEAC.

ta_c_currency_xag 

Silver.

ta_c_currency_xau 

Gold.

ta_c_currency_xba 

Bond Markets Unit European Composite Unit (EURCO).

ta_c_currency_xbb 

Bond Markets Unit European Monetary Unit (E.M.U.-6).

ta_c_currency_xbc 

Bond Markets Unit European Unit of Account 9 (E.U.A.-9).

ta_c_currency_xbd 

Bond Markets Unit European Unit of Account 17 (E.U.A.-17).

ta_c_currency_xcd 

East Caribbean Dollar.

ta_c_currency_xdr 

SDR (Special Drawing Right).

ta_c_currency_xof 

CFA Franc BCEAO.

ta_c_currency_xpd 

Palladium.

ta_c_currency_xpf 

CFP Franc.

ta_c_currency_xpt 

Platinum.

ta_c_currency_xsu 

Sucre.

ta_c_currency_xts 

Codes specifically reserved for testing purposes.

ta_c_currency_xua 

ADB Unit of Account.

ta_c_currency_xxx 

The codes assigned for transactions where no currency is involved.

ta_c_currency_yer 

Yemeni Rial.

ta_c_currency_zar 

Rand.

ta_c_currency_zmw 

Zambian Kwacha.

ta_c_currency_zwl 

Zimbabwe Dollar.

Function Documentation

◆ ta_currency_get_parameters()

ta_e_result_code_t ta_currency_get_parameters ( ta_e_currency_t  currency,
ta_s_currency_t parameters 
)

Get currency parameters.

Parameters
[in]currencyCurrency to get parameters for
[out]parametersVariable to write parameters to.
Return values
ta_c_rc_okParameters written to parameters.
ta_c_rc_invalid_argumentcurrency is 0 pointer.
ta_c_rc_invalid_argumentparameters is 0 pointer.
ta_c_rc_invalid_argumentInvalid currency value.

◆ ta_currency_with_code()

ta_e_result_code_t ta_currency_with_code ( const char *  code,
ta_e_currency_t currency 
)

Get enumeration value matching code.

Parameters
[in]codeCode to look up
[out]currencyVariable to write result to.
Return values
ta_c_rc_okCurrency constant written to currency. Set to ta_c_currency_undefined if currency is not found.
ta_c_rc_invalid_argumentcode is 0 pointer.
ta_c_rc_invalid_argumentcurrency is 0 pointer.
ta_c_rc_invalid_argumentCurrency with code not found.