Class SubscriptionSubscribedService


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

    • Constructor Detail

      • SubscriptionSubscribedService

        @Deprecated
        @ConstructorProperties({"id","product","quantity","status","operationType","netUnitPrice","usedAmount","availableAmount","fundedAllocationValue","partnerTransactionType","termValue","termValueUom","bookingOptyNumber","totalValue","originalPromoAmount","orderNumber","dataCenterRegion","pricingModel","programType","promoType","csi","isIntentToPay","timeStart","timeEnd","commitmentServices"})
        public SubscriptionSubscribedService​(String id,
                                             SubscriptionProduct product,
                                             String quantity,
                                             String status,
                                             String operationType,
                                             String netUnitPrice,
                                             String usedAmount,
                                             String availableAmount,
                                             String fundedAllocationValue,
                                             String partnerTransactionType,
                                             Long termValue,
                                             String termValueUom,
                                             String bookingOptyNumber,
                                             String totalValue,
                                             String originalPromoAmount,
                                             Long orderNumber,
                                             String dataCenterRegion,
                                             String pricingModel,
                                             String programType,
                                             String promoType,
                                             Long csi,
                                             Boolean isIntentToPay,
                                             Date timeStart,
                                             Date timeEnd,
                                             List<CommitmentService> commitmentServices)
        Deprecated.
    • Method Detail

      • getId

        public String getId()
        SPM internal Subscribed Service ID
        Returns:
        the value
      • getQuantity

        public String getQuantity()
        Subscribed service quantity
        Returns:
        the value
      • getStatus

        public String getStatus()
        Subscribed service status
        Returns:
        the value
      • getOperationType

        public String getOperationType()
        Subscribed service operation type
        Returns:
        the value
      • getNetUnitPrice

        public String getNetUnitPrice()
        Subscribed service net unit price
        Returns:
        the value
      • getUsedAmount

        public String getUsedAmount()
        Subscribed service used amount
        Returns:
        the value
      • getAvailableAmount

        public String getAvailableAmount()
        Subscribed sercice available or remaining amount
        Returns:
        the value
      • getFundedAllocationValue

        public String getFundedAllocationValue()
        Funded Allocation line value example: 12000.00
        Returns:
        the value
      • getPartnerTransactionType

        public String getPartnerTransactionType()
        This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differ
        Returns:
        the value
      • getTermValue

        public Long getTermValue()
        Term value in Months
        Returns:
        the value
      • getTermValueUom

        public String getTermValueUom()
        Term value UOM
        Returns:
        the value
      • getBookingOptyNumber

        public String getBookingOptyNumber()
        Booking Opportunity Number of Subscribed Service
        Returns:
        the value
      • getTotalValue

        public String getTotalValue()
        Subscribed service total value
        Returns:
        the value
      • getOriginalPromoAmount

        public String getOriginalPromoAmount()
        Subscribed service Promotion Amount
        Returns:
        the value
      • getOrderNumber

        public Long getOrderNumber()
        Sales Order Number associated to the subscribed service
        Returns:
        the value
      • getDataCenterRegion

        public String getDataCenterRegion()
        Subscribed service data center region
        Returns:
        the value
      • getPricingModel

        public String getPricingModel()
        Subscribed service pricing model
        Returns:
        the value
      • getProgramType

        public String getProgramType()
        Subscribed service program type
        Returns:
        the value
      • getPromoType

        public String getPromoType()
        Subscribed service promotion type
        Returns:
        the value
      • getCsi

        public Long getCsi()
        Subscribed service CSI number
        Returns:
        the value
      • getIsIntentToPay

        public Boolean getIsIntentToPay()
        Subscribed service intent to pay flag
        Returns:
        the value
      • getTimeStart

        public Date getTimeStart()
        Subscribed service start date
        Returns:
        the value
      • getTimeEnd

        public Date getTimeEnd()
        Subscribed service end date
        Returns:
        the value
      • getCommitmentServices

        public List<CommitmentService> getCommitmentServices()
        List of Commitment services of a line
        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