Class SubscriptionSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20191001")
    public final class SubscriptionSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Subscription object which contains the common subscription data.
    Note: Objects should always be created or deserialized using the SubscriptionSummary.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 SubscriptionSummary.Builder, which maintain a set of all explicitly set fields called SubscriptionSummary.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

      • getId

        public String getId()
        Subscription id identifier (OCID).
        Returns:
        the value
      • getSubscriptionPlanNumber

        public String getSubscriptionPlanNumber()
        Subscription plan number.
        Returns:
        the value
      • getTimeStart

        public Date getTimeStart()
        Start date of the subscription.
        Returns:
        the value
      • getShipToCustAcctSiteId

        public String getShipToCustAcctSiteId()
        Ship to customer account site address id.
        Returns:
        the value
      • getShipToCustAcctRoleId

        public String getShipToCustAcctRoleId()
        Ship to customer account role.
        Returns:
        the value
      • getBillToCustAccountId

        public String getBillToCustAccountId()
        Bill to customer Account id.
        Returns:
        the value
      • getIsIntentToPay

        public Boolean getIsIntentToPay()
        Payment intension.
        Returns:
        the value
      • getCurrencyCode

        public String getCurrencyCode()
        Currency code
        Returns:
        the value
      • getGsiOrgCode

        public String getGsiOrgCode()
        GSI Subscription external code.
        Returns:
        the value
      • getLanguageCode

        public String getLanguageCode()
        Language short code (en, de, hu, etc)
        Returns:
        the value
      • getOrganizationId

        public String getOrganizationId()
        GSI organization external identifier.
        Returns:
        the value
      • getUpgradeStateDetails

        public SubscriptionSummary.UpgradeStateDetails getUpgradeStateDetails()
        This field is used to describe the Upgrade State in case of error (E.g.

        Upgrade failure caused by interfacing Tax details- TaxError)

        Returns:
        the value
      • getTaxInfo

        public TaxInfo getTaxInfo()
      • getPaymentOptions

        public List<PaymentOption> getPaymentOptions()
        Payment option list of a subscription.
        Returns:
        the value
      • getBillingAddress

        public Address getBillingAddress()
      • getTimePlanUpgrade

        public Date getTimePlanUpgrade()
        Date of upgrade/conversion when planType changed from FREE_TIER to PAYG
        Returns:
        the value
      • getTimePersonalToCorporateConv

        public Date getTimePersonalToCorporateConv()
        Date of upgrade/conversion when account type changed from PERSONAL to CORPORATE
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

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

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel