SaaSPricingPlan¶
-
class
oci.marketplace_publisher.models.
SaaSPricingPlan
(**kwargs)¶ Bases:
oci.marketplace_publisher.models.pricing_plan.PricingPlan
SaaS pricing plan.
Attributes
BILLING_FREQUENCY_MONTHLY
A constant which can be used with the billing_frequency property of a SaaSPricingPlan. BILLING_FREQUENCY_QUARTERLY
A constant which can be used with the billing_frequency property of a SaaSPricingPlan. BILLING_FREQUENCY_YEARLY
A constant which can be used with the billing_frequency property of a SaaSPricingPlan. PLAN_TYPE_FIXED
str(object=’’) -> str PLAN_TYPE_METERED
str(object=’’) -> str billing_frequency
[Required] Gets the billing_frequency of this SaaSPricingPlan. extended_metadata
Gets the extended_metadata of this SaaSPricingPlan. name
[Required] Gets the name of this SaaSPricingPlan. plan_description
[Required] Gets the plan_description of this SaaSPricingPlan. plan_type
[Required] Gets the plan_type of this PricingPlan. rates
[Required] Gets the rates of this PricingPlan. Methods
__init__
(**kwargs)Initializes a new SaaSPricingPlan 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_MONTHLY
= 'MONTHLY'¶ A constant which can be used with the billing_frequency property of a SaaSPricingPlan. This constant has a value of “MONTHLY”
-
BILLING_FREQUENCY_QUARTERLY
= 'QUARTERLY'¶ A constant which can be used with the billing_frequency property of a SaaSPricingPlan. This constant has a value of “QUARTERLY”
-
BILLING_FREQUENCY_YEARLY
= 'YEARLY'¶ A constant which can be used with the billing_frequency property of a SaaSPricingPlan. This constant has a value of “YEARLY”
-
PLAN_TYPE_FIXED
= 'FIXED'¶
-
PLAN_TYPE_METERED
= 'METERED'¶
-
__init__
(**kwargs)¶ Initializes a new SaaSPricingPlan object with values from keyword arguments. The default value of the
plan_type
attribute of this class isFIXED
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 SaaSPricingPlan. Allowed values for this property are: “METERED”, “FIXED”, ‘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 SaaSPricingPlan.
- name (str) – The value to assign to the name property of this SaaSPricingPlan.
- plan_description (str) – The value to assign to the plan_description property of this SaaSPricingPlan.
- billing_frequency (str) – The value to assign to the billing_frequency property of this SaaSPricingPlan. Allowed values for this property are: “MONTHLY”, “QUARTERLY”, “YEARLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this SaaSPricingPlan.
-
billing_frequency
¶ [Required] Gets the billing_frequency of this SaaSPricingPlan. The plan billing frequency.
Allowed values for this property are: “MONTHLY”, “QUARTERLY”, “YEARLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The billing_frequency of this SaaSPricingPlan. Return type: str
-
extended_metadata
¶ Gets the extended_metadata of this SaaSPricingPlan. Additional metadata key/value pairs for the saas pricing.
Returns: The extended_metadata of this SaaSPricingPlan. 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.
-
name
¶ [Required] Gets the name of this SaaSPricingPlan. The plan name.
Returns: The name of this SaaSPricingPlan. Return type: str
-
plan_description
¶ [Required] Gets the plan_description of this SaaSPricingPlan. The plan description.
Returns: The plan_description of this SaaSPricingPlan. Return type: str
-
plan_type
¶ [Required] Gets the plan_type of this PricingPlan. The listing’s pricing plan type.
Allowed values for this property are: “METERED”, “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. List of pricing rates provider by publisher.
Returns: The rates of this PricingPlan. Return type: list[oci.marketplace_publisher.models.PricingRate]
-