PricingRate

class oci.self.models.PricingRate(**kwargs)

Bases: object

A pricing plan rate provided by the Publisher.

Methods:

__init__(**kwargs)

Initializes a new PricingRate object with values from keyword arguments.

Attributes:

currency

[Required] Gets the currency of this PricingRate.

rate

[Required] Gets the rate of this PricingRate.

__init__(**kwargs)

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

Parameters
  • currency (str) – The value to assign to the currency property of this PricingRate.

  • rate (float) – The value to assign to the rate property of this PricingRate.

property currency

[Required] Gets the currency of this PricingRate. The currency supported, in the format specified by ISO-4217

Returns

The currency of this PricingRate.

Return type

str

property rate

[Required] Gets the rate of this PricingRate. The amount charged for the plan in the specified currency.

Returns

The rate of this PricingRate.

Return type

float