Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.21 KB

File metadata and controls

34 lines (25 loc) · 1.21 KB

CurrencyInfo

Properties

Name Type Description Notes
id int The currency ID [optional]
code str The currency code (e.g., USD, EUR, GBP) [optional]
prefix str The currency prefix symbol (e.g., $, €, £) [optional]
suffix str The currency suffix (e.g., " USD") [optional]
format int The currency format setting [optional]
rate str The currency exchange rate [optional]

Example

from whmcs_client.models.currency_info import CurrencyInfo

# TODO update the JSON string below
json = "{}"
# create an instance of CurrencyInfo from a JSON string
currency_info_instance = CurrencyInfo.from_json(json)
# print the JSON string representation of the object
print(CurrencyInfo.to_json())

# convert the object into a dict
currency_info_dict = currency_info_instance.to_dict()
# create an instance of CurrencyInfo from a dict
currency_info_from_dict = CurrencyInfo.from_dict(currency_info_dict)

[Back to Model list] [Back to API list] [Back to README]