SupportedCurrencySummary¶
-
class
oci.marketplace_publisher.models.
SupportedCurrencySummary
(**kwargs)¶ Bases:
object
The model for the currencies supported by the Marketplace Publisher Service.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a SupportedCurrencySummary. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a SupportedCurrencySummary. currency_code
[Required] Gets the currency_code of this SupportedCurrencySummary. exchange_rate
[Required] Gets the exchange_rate of this SupportedCurrencySummary. lifecycle_state
[Required] Gets the lifecycle_state of this SupportedCurrencySummary. Methods
__init__
(**kwargs)Initializes a new SupportedCurrencySummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a SupportedCurrencySummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a SupportedCurrencySummary. This constant has a value of “INACTIVE”
-
__init__
(**kwargs)¶ Initializes a new SupportedCurrencySummary 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 SupportedCurrencySummary.
- exchange_rate (float) – The value to assign to the exchange_rate property of this SupportedCurrencySummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SupportedCurrencySummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
currency_code
¶ [Required] Gets the currency_code of this SupportedCurrencySummary. The currency code, in the format specified by ISO-4217.
Returns: The currency_code of this SupportedCurrencySummary. Return type: str
-
exchange_rate
¶ [Required] Gets the exchange_rate of this SupportedCurrencySummary. Oracle exchange rate for the currency in USD.
Returns: The exchange_rate of this SupportedCurrencySummary. Return type: float
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this SupportedCurrencySummary. The current state for the currency.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this SupportedCurrencySummary. Return type: str
-