SubscriptionDetails

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

Bases: object

The details of a subscription

Methods:

__init__(**kwargs)

Initializes a new SubscriptionDetails object with values from keyword arguments.

Attributes:

amount

Gets the amount of this SubscriptionDetails.

billing_details

[Required] Gets the billing_details of this SubscriptionDetails.

currency

Gets the currency of this SubscriptionDetails.

is_auto_renew

Gets 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 (list[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.

property amount

Gets the amount of this SubscriptionDetails. Tha amount for the currency type.

Returns

The amount of this SubscriptionDetails.

Return type

float

property billing_details

[Required] Gets the billing_details of this SubscriptionDetails. Billing details associated with the subscription plan and its usage dimensions.

Returns

The billing_details of this SubscriptionDetails.

Return type

list[oci.self.models.BillingDetails]

property 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

property 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

property 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

property pricing_plan

[Required] Gets the pricing_plan of this SubscriptionDetails.

Returns

The pricing_plan of this SubscriptionDetails.

Return type

oci.self.models.PricingPlan