Pricing

class oci.marketplace_private_offer.models.Pricing(**kwargs)

Bases: object

the pricing information for the offer

Attributes

BILLING_CYCLE_ONE_TIME A constant which can be used with the billing_cycle property of a Pricing.
billing_cycle Gets the billing_cycle of this Pricing.
currency_type Gets the currency_type of this Pricing.
total_amount Gets the total_amount of this Pricing.

Methods

__init__(**kwargs) Initializes a new Pricing object with values from keyword arguments.
BILLING_CYCLE_ONE_TIME = 'ONE_TIME'

A constant which can be used with the billing_cycle property of a Pricing. This constant has a value of “ONE_TIME”

__init__(**kwargs)

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

Parameters:
  • currency_type (str) – The value to assign to the currency_type property of this Pricing.
  • total_amount (int) – The value to assign to the total_amount property of this Pricing.
  • billing_cycle (str) – The value to assign to the billing_cycle property of this Pricing. Allowed values for this property are: “ONE_TIME”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
billing_cycle

Gets the billing_cycle of this Pricing. The frequency at which the customer is billed for the Offer

Allowed values for this property are: “ONE_TIME”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The billing_cycle of this Pricing.
Return type:str
currency_type

Gets the currency_type of this Pricing. The currency supported for a given Offer, in the format specified by ISO-4217

Returns:The currency_type of this Pricing.
Return type:str
total_amount

Gets the total_amount of this Pricing. The total amount an Offer costs

Returns:The total_amount of this Pricing.
Return type:int