SubscriptionCurrency

class oci.onesubscription.models.SubscriptionCurrency(**kwargs)

Bases: object

Currency details.

Methods:

__init__(**kwargs)

Initializes a new SubscriptionCurrency object with values from keyword arguments.

Attributes:

iso_code

[Required] Gets the iso_code of this SubscriptionCurrency.

name

Gets the name of this SubscriptionCurrency.

std_precision

Gets the std_precision of this SubscriptionCurrency.

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this SubscriptionCurrency.

  • iso_code (str) – The value to assign to the iso_code property of this SubscriptionCurrency.

  • std_precision (int) – The value to assign to the std_precision property of this SubscriptionCurrency.

property iso_code

[Required] Gets the iso_code of this SubscriptionCurrency. Currency code.

Returns

The iso_code of this SubscriptionCurrency.

Return type

str

property name

Gets the name of this SubscriptionCurrency. Currency name.

Returns

The name of this SubscriptionCurrency.

Return type

str

property std_precision

Gets the std_precision of this SubscriptionCurrency. Standard precision of the currency.

Returns

The std_precision of this SubscriptionCurrency.

Return type

int