PricingPlan

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

Bases: object

A pricing plan details provided by the Publisher.

Attributes

BILLING_FREQUENCY_YEARLY A constant which can be used with the billing_frequency property of a PricingPlan.
PLAN_DURATION_ANNUAL A constant which can be used with the plan_duration property of a PricingPlan.
PLAN_TYPE_FIXED A constant which can be used with the plan_type property of a PricingPlan.
billing_frequency [Required] Gets the billing_frequency of this PricingPlan.
plan_description Gets the plan_description of this PricingPlan.
plan_duration Gets the plan_duration of this PricingPlan.
plan_name [Required] Gets the plan_name of this PricingPlan.
plan_type [Required] Gets the plan_type of this PricingPlan.
rates [Required] Gets the rates of this PricingPlan.

Methods

__init__(**kwargs) Initializes a new PricingPlan object with values from keyword arguments.
BILLING_FREQUENCY_YEARLY = 'YEARLY'

A constant which can be used with the billing_frequency property of a PricingPlan. This constant has a value of “YEARLY”

PLAN_DURATION_ANNUAL = 'ANNUAL'

A constant which can be used with the plan_duration property of a PricingPlan. This constant has a value of “ANNUAL”

PLAN_TYPE_FIXED = 'FIXED'

A constant which can be used with the plan_type property of a PricingPlan. This constant has a value of “FIXED”

__init__(**kwargs)

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

Parameters:
  • plan_type (str) – The value to assign to the plan_type property of this PricingPlan. Allowed values for this property are: “FIXED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • plan_name (str) – The value to assign to the plan_name property of this PricingPlan.
  • plan_description (str) – The value to assign to the plan_description property of this PricingPlan.
  • billing_frequency (str) – The value to assign to the billing_frequency property of this PricingPlan. Allowed values for this property are: “YEARLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • plan_duration (str) – The value to assign to the plan_duration property of this PricingPlan. Allowed values for this property are: “ANNUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • rates (list[oci.self.models.PricingRate]) – The value to assign to the rates property of this PricingPlan.
billing_frequency

[Required] Gets the billing_frequency of this PricingPlan. Specifies the interval at which billing occurs for the subscription plan.

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

Returns:The billing_frequency of this PricingPlan.
Return type:str
plan_description

Gets the plan_description of this PricingPlan. A detailed explanation of the subscription plan.

Returns:The plan_description of this PricingPlan.
Return type:str
plan_duration

Gets the plan_duration of this PricingPlan. Specifies the interval at which billing occurs for the subscription plan.

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

Returns:The plan_duration of this PricingPlan.
Return type:str
plan_name

[Required] Gets the plan_name of this PricingPlan. The name of the subscription plan used to identify the plan.

Returns:The plan_name of this PricingPlan.
Return type:str
plan_type

[Required] Gets the plan_type of this PricingPlan. The type of the subscription plan.

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

Returns:The plan_type of this PricingPlan.
Return type:str
rates

[Required] Gets the rates of this PricingPlan. The pricing details of the subscription plan in various supported currencies.

Returns:The rates of this PricingPlan.
Return type:list[oci.self.models.PricingRate]