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.ExplicitlySetBmcModel
Subscribed 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 class
SubscribedServiceSummary.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.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBookingOptyNumber()
Booking Opportunity Number of Subscribed ServiceList<Commitment>
getCommitmentServices()
List of Commitment services of a lineLong
getCsi()
Subscribed service CSI numberString
getDataCenterRegion()
Subscribed service data center regionString
getFundedAllocationValue()
Funded Allocation line value example: 12000.00String
getId()
SPM internal Subscribed Service IDBoolean
getIsIntentToPay()
Subscribed service intent to pay flagString
getNetUnitPrice()
Subscribed service net unit priceString
getOperationType()
Subscribed service operation typeLong
getOrderNumber()
Sales Order Number associated to the subscribed serviceString
getPartnerTransactionType()
This field contains the name of the partner to which the subscription belongs - depending on which the invoicing may differString
getPricingModel()
Subscribed service pricing modelSubscriptionProduct
getProduct()
String
getProgramType()
Subscribed service program typeString
getPromoType()
Subscribed service promotion typeString
getQuantity()
Subscribed service quantityString
getStatus()
Subscribed service statusLong
getTermValue()
Term value in MonthsString
getTermValueUOM()
Term value UOMDate
getTimeEnd()
Subscribed service end dateDate
getTimeStart()
Subscribed service start dateString
getTotalValue()
Subscribed service total valueint
hashCode()
SubscribedServiceSummary.Builder
toBuilder()
String
toString()
String
toString(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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-