Class SubscriptionSubscribedService
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.onesubscription.model.SubscriptionSubscribedService
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class SubscriptionSubscribedService extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSubscribed Service summary
Note: Objects should always be created or deserialized using theSubscriptionSubscribedService.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 calledSubscriptionSubscribedService.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 classSubscriptionSubscribedService.Builder
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionSubscribedService.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailableAmount()Subscribed sercice available or remaining amountStringgetBookingOptyNumber()Booking Opportunity Number of Subscribed ServiceList<CommitmentService>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 serviceStringgetOriginalPromoAmount()Subscribed service Promotion AmountStringgetPartnerTransactionType()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 valueStringgetUsedAmount()Subscribed service used amountinthashCode()SubscriptionSubscribedService.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
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
-
builder
public static SubscriptionSubscribedService.Builder builder()
Create a new builder.
-
toBuilder
public SubscriptionSubscribedService.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
-
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:
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
-
-