HybridPricingPlan

class oci.marketplace_publisher.models.HybridPricingPlan(**kwargs)

Bases: PricingPlan

Hybrid SaaS pricing plan with a base fee and dimension-based overage billing.

Attributes:

BILLING_FREQUENCY_ANNUAL

A constant which can be used with the billing_frequency property of a HybridPricingPlan.

BILLING_FREQUENCY_BIENNIAL

A constant which can be used with the billing_frequency property of a HybridPricingPlan.

BILLING_FREQUENCY_MONTHLY

A constant which can be used with the billing_frequency property of a HybridPricingPlan.

BILLING_FREQUENCY_QUARTERLY

A constant which can be used with the billing_frequency property of a HybridPricingPlan.

BILLING_FREQUENCY_SEMI_ANNUAL

A constant which can be used with the billing_frequency property of a HybridPricingPlan.

BILLING_FREQUENCY_TRIENNIAL

A constant which can be used with the billing_frequency property of a HybridPricingPlan.

PLAN_DURATION_ANNUAL

A constant which can be used with the plan_duration property of a HybridPricingPlan.

PLAN_DURATION_BIENNIAL

A constant which can be used with the plan_duration property of a HybridPricingPlan.

PLAN_DURATION_MONTHLY

A constant which can be used with the plan_duration property of a HybridPricingPlan.

PLAN_DURATION_QUARTERLY

A constant which can be used with the plan_duration property of a HybridPricingPlan.

PLAN_DURATION_SEMI_ANNUAL

A constant which can be used with the plan_duration property of a HybridPricingPlan.

PLAN_DURATION_TRIENNIAL

A constant which can be used with the plan_duration property of a HybridPricingPlan.

PLAN_TYPE_FIXED

A constant which can be used with the plan_type property of a PricingPlan.

PLAN_TYPE_HYBRID

A constant which can be used with the plan_type property of a PricingPlan.

PLAN_TYPE_METERED

A constant which can be used with the plan_type property of a PricingPlan.

PLAN_TYPE_USAGE_BASED

A constant which can be used with the plan_type property of a PricingPlan.

billing_frequency

[Required] Gets the billing_frequency of this HybridPricingPlan.

dimensions

[Required] Gets the dimensions of this HybridPricingPlan.

extended_metadata

Gets the extended_metadata of this HybridPricingPlan.

name

[Required] Gets the name of this HybridPricingPlan.

plan_description

[Required] Gets the plan_description of this HybridPricingPlan.

plan_duration

Gets the plan_duration of this HybridPricingPlan.

plan_type

[Required] Gets the plan_type of this PricingPlan.

pricing_plan_key

Gets the pricing_plan_key of this HybridPricingPlan.

rates

[Required] Gets the rates of this PricingPlan.

Methods:

__init__(**kwargs)

Initializes a new HybridPricingPlan object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

BILLING_FREQUENCY_ANNUAL = 'ANNUAL'

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

BILLING_FREQUENCY_BIENNIAL = 'BIENNIAL'

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

BILLING_FREQUENCY_MONTHLY = 'MONTHLY'

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

BILLING_FREQUENCY_QUARTERLY = 'QUARTERLY'

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

BILLING_FREQUENCY_SEMI_ANNUAL = 'SEMI_ANNUAL'

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

BILLING_FREQUENCY_TRIENNIAL = 'TRIENNIAL'

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

PLAN_DURATION_ANNUAL = 'ANNUAL'

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

PLAN_DURATION_BIENNIAL = 'BIENNIAL'

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

PLAN_DURATION_MONTHLY = 'MONTHLY'

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

PLAN_DURATION_QUARTERLY = 'QUARTERLY'

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

PLAN_DURATION_SEMI_ANNUAL = 'SEMI_ANNUAL'

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

PLAN_DURATION_TRIENNIAL = 'TRIENNIAL'

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

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”

PLAN_TYPE_HYBRID = 'HYBRID'

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

PLAN_TYPE_METERED = 'METERED'

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

PLAN_TYPE_USAGE_BASED = 'USAGE_BASED'

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

__init__(**kwargs)

Initializes a new HybridPricingPlan object with values from keyword arguments. The default value of the plan_type attribute of this class is HYBRID and it should not be changed. 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 HybridPricingPlan. Allowed values for this property are: “METERED”, “FIXED”, “USAGE_BASED”, “HYBRID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • rates (list[oci.marketplace_publisher.models.PricingRate]) – The value to assign to the rates property of this HybridPricingPlan.

  • pricing_plan_key (str) – The value to assign to the pricing_plan_key property of this HybridPricingPlan.

  • name (str) – The value to assign to the name property of this HybridPricingPlan.

  • plan_description (str) – The value to assign to the plan_description property of this HybridPricingPlan.

  • billing_frequency (str) – The value to assign to the billing_frequency property of this HybridPricingPlan. Allowed values for this property are: “MONTHLY”, “QUARTERLY”, “SEMI_ANNUAL”, “ANNUAL”, “BIENNIAL”, “TRIENNIAL”, ‘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 HybridPricingPlan. Allowed values for this property are: “MONTHLY”, “QUARTERLY”, “SEMI_ANNUAL”, “ANNUAL”, “BIENNIAL”, “TRIENNIAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • dimensions (list[oci.marketplace_publisher.models.UsageDimension]) – The value to assign to the dimensions property of this HybridPricingPlan.

  • extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this HybridPricingPlan.

property billing_frequency

[Required] Gets the billing_frequency of this HybridPricingPlan. The plan billing frequency.

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

Returns

The billing_frequency of this HybridPricingPlan.

Return type

str

property dimensions

[Required] Gets the dimensions of this HybridPricingPlan. The usage dimensions that define included usage and overage billing for this plan.

Returns

The dimensions of this HybridPricingPlan.

Return type

list[oci.marketplace_publisher.models.UsageDimension]

property extended_metadata

Gets the extended_metadata of this HybridPricingPlan. Additional metadata key/value pairs for the hybrid pricing.

Returns

The extended_metadata of this HybridPricingPlan.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property name

[Required] Gets the name of this HybridPricingPlan. The plan name.

Returns

The name of this HybridPricingPlan.

Return type

str

property plan_description

[Required] Gets the plan_description of this HybridPricingPlan. The plan description.

Returns

The plan_description of this HybridPricingPlan.

Return type

str

property plan_duration

Gets the plan_duration of this HybridPricingPlan. The plan duration.

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

Returns

The plan_duration of this HybridPricingPlan.

Return type

str

property plan_type

[Required] Gets the plan_type of this PricingPlan. The listing’s pricing plan type.

Allowed values for this property are: “METERED”, “FIXED”, “USAGE_BASED”, “HYBRID”, ‘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

property pricing_plan_key

Gets the pricing_plan_key of this HybridPricingPlan. Unique identifier of the pricing plan.

Returns

The pricing_plan_key of this HybridPricingPlan.

Return type

str

property rates

[Required] Gets the rates of this PricingPlan. List of pricing rates provider by publisher.

Returns

The rates of this PricingPlan.

Return type

list[oci.marketplace_publisher.models.PricingRate]