Class Subscription
  Subscription details object which extends the SubscriptionSummary
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
  
  
  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
  
  
  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). | 
    
  
  
  IsCorporateConversionAllowed
  
  
  Declaration
  
    [JsonProperty(PropertyName = "isCorporateConversionAllowed")]
public bool? IsCorporateConversionAllowed { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | bool? | Corporate conversion allowed status | 
    
  
  
  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
  
  
  PaymentOptions
  
  
  Declaration
  
    [JsonProperty(PropertyName = "paymentOptions")]
public List<PaymentOption> PaymentOptions { get; set; }
   
  Property Value
  
  
  PlanType
  
  
  Declaration
  
    [JsonProperty(PropertyName = "planType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Subscription.PlanTypeEnum? PlanType { get; set; }
   
  Property Value
  
  
  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. | 
    
  
  
  
  
  TaxInfo
  
  
  Declaration
  
    [JsonProperty(PropertyName = "taxInfo")]
public TaxInfo TaxInfo { get; set; }
   
  Property Value
  
  
  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
  
  
  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) |