Class SubscribedServiceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osubsubscription.model.SubscribedServiceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210501") public final class SubscribedServiceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSubscribed Service summary
Note: Objects should always be created or deserialized using theSubscribedServiceSummary.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
SubscribedServiceSummary.Builder, which maintain a set of all explicitly set fields calledSubscribedServiceSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscribedServiceSummary.Builder
-
Constructor Summary
Constructors Constructor Description SubscribedServiceSummary(String id, SubscriptionProduct product, String quantity, String status, String operationType, String netUnitPrice, String fundedAllocationValue, String partnerTransactionType, Long termValue, String termValueUOM, String bookingOptyNumber, String totalValue, Long orderNumber, String dataCenterRegion, String pricingModel, String programType, String promoType, Long csi, Boolean isIntentToPay, Date timeStart, Date timeEnd, List<Commitment> commitmentServices)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscribedServiceSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetBookingOptyNumber()Booking Opportunity Number of Subscribed ServiceList<Commitment>getCommitmentServices()List of Commitment services of a lineLonggetCsi()Subscribed service CSI numberStringgetDataCenterRegion()Subscribed service data center regionStringgetFundedAllocationValue()Funded Allocation line value example: 12000.00StringgetId()SPM internal Subscribed Service IDBooleangetIsIntentToPay()Subscribed service intent to pay flagStringgetNetUnitPrice()Subscribed service net unit priceStringgetOperationType()Subscribed service operation typeLonggetOrderNumber()Sales Order Number associated to the subscribed serviceStringgetPartnerTransactionType()This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differStringgetPricingModel()Subscribed service pricing modelSubscriptionProductgetProduct()StringgetProgramType()Subscribed service program typeStringgetPromoType()Subscribed service promotion typeStringgetQuantity()Subscribed service quantityStringgetStatus()Subscribed service statusLonggetTermValue()Term value in MonthsStringgetTermValueUOM()Term value UOMDategetTimeEnd()Subscribed service end dateDategetTimeStart()Subscribed service start dateStringgetTotalValue()Subscribed service total valueinthashCode()SubscribedServiceSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SubscribedServiceSummary
@Deprecated @ConstructorProperties({"id","product","quantity","status","operationType","netUnitPrice","fundedAllocationValue","partnerTransactionType","termValue","termValueUOM","bookingOptyNumber","totalValue","orderNumber","dataCenterRegion","pricingModel","programType","promoType","csi","isIntentToPay","timeStart","timeEnd","commitmentServices"}) public SubscribedServiceSummary(String id, SubscriptionProduct product, String quantity, String status, String operationType, String netUnitPrice, String fundedAllocationValue, String partnerTransactionType, Long termValue, String termValueUOM, String bookingOptyNumber, String totalValue, Long orderNumber, String dataCenterRegion, String pricingModel, String programType, String promoType, Long csi, Boolean isIntentToPay, Date timeStart, Date timeEnd, List<Commitment> commitmentServices)
Deprecated.
-
-
Method Detail
-
builder
public static SubscribedServiceSummary.Builder builder()
Create a new builder.
-
toBuilder
public SubscribedServiceSummary.Builder toBuilder()
-
getId
public String getId()
SPM internal Subscribed Service ID- Returns:
- the value
-
getProduct
public SubscriptionProduct getProduct()
-
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
-
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
-
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<Commitment> getCommitmentServices()
List of Commitment services of a line- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-