Currency

class oci.osp_gateway.models.Currency(**kwargs)

Bases: object

Currency details model

Methods

__init__(**kwargs) Initializes a new Currency object with values from keyword arguments.

Attributes

currency_code Gets the currency_code of this Currency.
currency_symbol Gets the currency_symbol of this Currency.
name Gets the name of this Currency.
round_decimal_point Gets the round_decimal_point of this Currency.
usd_conversion Gets the usd_conversion of this Currency.
__init__(**kwargs)

Initializes a new Currency object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • currency_code (str) – The value to assign to the currency_code property of this Currency.
  • currency_symbol (str) – The value to assign to the currency_symbol property of this Currency.
  • name (str) – The value to assign to the name property of this Currency.
  • usd_conversion (float) – The value to assign to the usd_conversion property of this Currency.
  • round_decimal_point (float) – The value to assign to the round_decimal_point property of this Currency.
currency_code

Gets the currency_code of this Currency. Currency code

Returns:The currency_code of this Currency.
Return type:str
currency_symbol

Gets the currency_symbol of this Currency. Currency symbol

Returns:The currency_symbol of this Currency.
Return type:str
name

Gets the name of this Currency. Name of the currency

Returns:The name of this Currency.
Return type:str
round_decimal_point

Gets the round_decimal_point of this Currency. Round decimal point

Returns:The round_decimal_point of this Currency.
Return type:float
usd_conversion

Gets the usd_conversion of this Currency. USD conversion rate of the currency

Returns:The usd_conversion of this Currency.
Return type:float