Class ClassicAssignedSubscription


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230401")
    public final class ClassicAssignedSubscription
    extends AssignedSubscription
    Assigned subscription information.
    Note: Objects should always be created or deserialized using the ClassicAssignedSubscription.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ClassicAssignedSubscription.Builder, which maintain a set of all explicitly set fields called ClassicAssignedSubscription.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getClassicSubscriptionId

        public String getClassicSubscriptionId()
        Subscription ID.
        Returns:
        the value
      • getIsClassicSubscription

        public Boolean getIsClassicSubscription()
        Specifies whether or not the subscription is legacy.
        Returns:
        the value
      • getRegionAssignment

        public String getRegionAssignment()
        Region for the subscription.
        Returns:
        the value
      • getSkus

        public List<SubscriptionSku> getSkus()
        List of SKUs linked to the subscription.
        Returns:
        the value
      • getOrderIds

        public List<String> getOrderIds()
        List of subscription order OCIDs that contributed to this subscription.
        Returns:
        the value
      • getProgramType

        public String getProgramType()
        Specifies any program that is associated with the subscription.
        Returns:
        the value
      • getCustomerCountryCode

        public String getCustomerCountryCode()
        The country code for the customer associated with the subscription.
        Returns:
        the value
      • getCloudAmountCurrency

        public String getCloudAmountCurrency()
        The currency code for the customer associated with the subscription.
        Returns:
        the value
      • getCsiNumber

        public String getCsiNumber()
        Customer service identifier for the customer associated with the subscription.
        Returns:
        the value
      • getSubscriptionTier

        public String getSubscriptionTier()
        Tier for the subscription, whether a free promotion subscription or a paid subscription.
        Returns:
        the value
      • getIsGovernmentSubscription

        public Boolean getIsGovernmentSubscription()
        Specifies whether or not the subscription is a government subscription.
        Returns:
        the value
      • getPromotion

        public List<Promotion> getPromotion()
        List of promotions related to the subscription.
        Returns:
        the value
      • getPurchaseEntitlementId

        public String getPurchaseEntitlementId()
        Purchase entitlement ID associated with the subscription.
        Returns:
        the value
      • getStartDate

        public Date getStartDate()
        Subscription start time.
        Returns:
        the value
      • getEndDate

        public Date getEndDate()
        Subscription end time.
        Returns:
        the value
      • getManagedBy

        public ClassicSubscriptionManagedBy getManagedBy()
        Service or component which is used to provision and manage the subscription.
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class AssignedSubscription
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation