SubscriptionDetails¶
-
class
oci.self.models.SubscriptionDetails(**kwargs)¶ Bases:
objectThe details of a subscription
Methods
__init__(**kwargs)Initializes a new SubscriptionDetails object with values from keyword arguments. Attributes
amountGets the amount of this SubscriptionDetails. billing_details[Required] Gets the billing_details of this SubscriptionDetails. currencyGets the currency of this SubscriptionDetails. is_auto_renewGets the is_auto_renew of this SubscriptionDetails. partner_registration_url[Required] Gets the partner_registration_url of this SubscriptionDetails. pricing_plan[Required] Gets the pricing_plan of this SubscriptionDetails. -
__init__(**kwargs)¶ Initializes a new SubscriptionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - pricing_plan (oci.self.models.PricingPlan) – The value to assign to the pricing_plan property of this SubscriptionDetails.
- partner_registration_url (str) – The value to assign to the partner_registration_url property of this SubscriptionDetails.
- currency (str) – The value to assign to the currency property of this SubscriptionDetails.
- amount (float) – The value to assign to the amount property of this SubscriptionDetails.
- billing_details (oci.self.models.BillingDetails) – The value to assign to the billing_details property of this SubscriptionDetails.
- is_auto_renew (bool) – The value to assign to the is_auto_renew property of this SubscriptionDetails.
-
amount¶ Gets the amount of this SubscriptionDetails. Tha amount for the currency type.
Returns: The amount of this SubscriptionDetails. Return type: float
-
billing_details¶ [Required] Gets the billing_details of this SubscriptionDetails.
Returns: The billing_details of this SubscriptionDetails. Return type: oci.self.models.BillingDetails
-
currency¶ Gets the currency of this SubscriptionDetails. The currency supported, in the format specified by ISO-4217
Returns: The currency of this SubscriptionDetails. Return type: str
-
is_auto_renew¶ Gets the is_auto_renew of this SubscriptionDetails. Whether subscription should be auto-renewed at the end of cycle.
Returns: The is_auto_renew of this SubscriptionDetails. Return type: bool
-
partner_registration_url¶ [Required] Gets the partner_registration_url of this SubscriptionDetails. The activation link given by the partner.
Returns: The partner_registration_url of this SubscriptionDetails. Return type: str
-
pricing_plan¶ [Required] Gets the pricing_plan of this SubscriptionDetails.
Returns: The pricing_plan of this SubscriptionDetails. Return type: oci.self.models.PricingPlan
-