Show / Hide Table of Contents

Class Subscription

Subscription details object which extends the SubscriptionSummary

Inheritance
object
Subscription
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OspgatewayService.Models
Assembly: OCI.DotNetSDK.Ospgateway.dll
Syntax
public class Subscription

Properties

AccountType

Declaration
[JsonProperty(PropertyName = "accountType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.AccountTypeEnum? AccountType { get; set; }
Property Value
Type Description
Subscription.AccountTypeEnum?

Account type.

BillToCustAccountId

Declaration
[JsonProperty(PropertyName = "billToCustAccountId")]
public string BillToCustAccountId { get; set; }
Property Value
Type Description
string

Bill to customer Account id.

BillingAddress

Declaration
[JsonProperty(PropertyName = "billingAddress")]
public Address BillingAddress { get; set; }
Property Value
Type Description
Address

CurrencyCode

Declaration
[JsonProperty(PropertyName = "currencyCode")]
public string CurrencyCode { get; set; }
Property Value
Type Description
string

Currency code

GsiOrgCode

Declaration
[JsonProperty(PropertyName = "gsiOrgCode")]
public string GsiOrgCode { get; set; }
Property Value
Type Description
string

GSI Subscription external code.

Id

Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Subscription id identifier (OCID).

IsIntentToPay

Declaration
[JsonProperty(PropertyName = "isIntentToPay")]
public bool? IsIntentToPay { get; set; }
Property Value
Type Description
bool?

Payment intension.

LanguageCode

Declaration
[JsonProperty(PropertyName = "languageCode")]
public string LanguageCode { get; set; }
Property Value
Type Description
string

Language short code (en, de, hu, etc)

OrganizationId

Declaration
[JsonProperty(PropertyName = "organizationId")]
public string OrganizationId { get; set; }
Property Value
Type Description
string

GSI organization external identifier.

PaymentGateway

Declaration
[JsonProperty(PropertyName = "paymentGateway")]
public PaymentGateway PaymentGateway { get; set; }
Property Value
Type Description
PaymentGateway

PaymentOptions

Declaration
[JsonProperty(PropertyName = "paymentOptions")]
public List<PaymentOption> PaymentOptions { get; set; }
Property Value
Type Description
List<PaymentOption>

Payment option list of a subscription.

PlanType

Declaration
[JsonProperty(PropertyName = "planType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.PlanTypeEnum? PlanType { get; set; }
Property Value
Type Description
Subscription.PlanTypeEnum?

Subscription plan type.

ShipToCustAcctRoleId

Declaration
[JsonProperty(PropertyName = "shipToCustAcctRoleId")]
public string ShipToCustAcctRoleId { get; set; }
Property Value
Type Description
string

Ship to customer account role.

ShipToCustAcctSiteId

Declaration
[JsonProperty(PropertyName = "shipToCustAcctSiteId")]
public string ShipToCustAcctSiteId { get; set; }
Property Value
Type Description
string

Ship to customer account site address id.

SubscriptionPlanNumber

Declaration
[Required(ErrorMessage = "SubscriptionPlanNumber is required.")]
[JsonProperty(PropertyName = "subscriptionPlanNumber")]
public string SubscriptionPlanNumber { get; set; }
Property Value
Type Description
string

Subscription plan number.

Remarks

Required

TaxInfo

Declaration
[JsonProperty(PropertyName = "taxInfo")]
public TaxInfo TaxInfo { get; set; }
Property Value
Type Description
TaxInfo

TimePersonalToCorporateConv

Declaration
[JsonProperty(PropertyName = "timePersonalToCorporateConv")]
public DateTime? TimePersonalToCorporateConv { get; set; }
Property Value
Type Description
DateTime?

Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE

TimePlanUpgrade

Declaration
[JsonProperty(PropertyName = "timePlanUpgrade")]
public DateTime? TimePlanUpgrade { get; set; }
Property Value
Type Description
DateTime?

Date of upgrade/conversion when planType changed from FREE_TIER to PAYG

TimeStart

Declaration
[JsonProperty(PropertyName = "timeStart")]
public DateTime? TimeStart { get; set; }
Property Value
Type Description
DateTime?

Start date of the subscription.

UpgradeState

Declaration
[JsonProperty(PropertyName = "upgradeState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.UpgradeStateEnum? UpgradeState { get; set; }
Property Value
Type Description
Subscription.UpgradeStateEnum?

Status of the upgrade.

UpgradeStateDetails

Declaration
[JsonProperty(PropertyName = "upgradeStateDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.UpgradeStateDetailsEnum? UpgradeStateDetails { get; set; }
Property Value
Type Description
Subscription.UpgradeStateDetailsEnum?

This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError)

In this article
Back to top