Class SubscriptionDetails
The details of a subscription
Inherited Members
Namespace: Oci.SelfService.Models
Assembly: OCI.DotNetSDK.Self.dll
Syntax
public class SubscriptionDetails
Properties
Amount
Declaration
[JsonProperty(PropertyName = "amount")]
public float? Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| float? | Tha amount for the currency type. |
BillingDetails
Declaration
[Required(ErrorMessage = "BillingDetails is required.")]
[JsonProperty(PropertyName = "billingDetails")]
public BillingDetails BillingDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| BillingDetails |
Remarks
Required
Currency
Declaration
[JsonProperty(PropertyName = "currency")]
public string Currency { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The currency supported, in the format specified by ISO-4217 |
IsAutoRenew
Declaration
[JsonProperty(PropertyName = "isAutoRenew")]
public bool? IsAutoRenew { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Whether subscription should be auto-renewed at the end of cycle. |
PartnerRegistrationUrl
Declaration
[Required(ErrorMessage = "PartnerRegistrationUrl is required.")]
[JsonProperty(PropertyName = "partnerRegistrationUrl")]
public string PartnerRegistrationUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The activation link given by the partner. |
Remarks
Required
PricingPlan
Declaration
[Required(ErrorMessage = "PricingPlan is required.")]
[JsonProperty(PropertyName = "pricingPlan")]
public PricingPlan PricingPlan { get; set; }
Property Value
| Type | Description |
|---|---|
| PricingPlan |
Remarks
Required