Prices

class oci.ccd_offers.models.Prices(**kwargs)

Bases: object

The SKU external listing price.

Attributes

MODEL_PAY_AS_YOU_GO A constant which can be used with the model property of a Prices.
model Gets the model of this Prices.
range_max Gets the range_max of this Prices.
range_min Gets the range_min of this Prices.
range_unit Gets the range_unit of this Prices.
value Gets the value of this Prices.

Methods

__init__(**kwargs) Initializes a new Prices object with values from keyword arguments.
MODEL_PAY_AS_YOU_GO = 'PAY_AS_YOU_GO'

A constant which can be used with the model property of a Prices. This constant has a value of “PAY_AS_YOU_GO”

__init__(**kwargs)

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

Parameters:
  • model (str) – The value to assign to the model property of this Prices. Allowed values for this property are: “PAY_AS_YOU_GO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • value (str) – The value to assign to the value property of this Prices.
  • range_min (str) – The value to assign to the range_min property of this Prices.
  • range_max (str) – The value to assign to the range_max property of this Prices.
  • range_unit (str) – The value to assign to the range_unit property of this Prices.
model

Gets the model of this Prices. Pricing model.

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

Returns:The model of this Prices.
Return type:str
range_max

Gets the range_max of this Prices. The maximum quantity for tier pricing (inclusive). Only applicable for products that support range-based pricing.

Returns:The range_max of this Prices.
Return type:str
range_min

Gets the range_min of this Prices. The minimum quantity for tier pricing (exclusive). Only applicable for products that support range-based pricing.

Returns:The range_min of this Prices.
Return type:str
range_unit

Gets the range_unit of this Prices. The rangeMin and rangeMax unit of measurement (for example, “GB” or “TB”).

Returns:The range_unit of this Prices.
Return type:str
value

Gets the value of this Prices. Currency value.

Returns:The value of this Prices.
Return type:str