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 theSubscriptionSubscribedService.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, List<AssociatedSubscriptions> associatedSubscriptions)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)List<AssociatedSubscriptions>getAssociatedSubscriptions()List of Associated SubscriptionsStringgetAvailableAmount()Subscribed sercice available or remaining amount.StringgetBookingOptyNumber()Booking opportunity number of subscribed service.List<CommitmentService>getCommitmentServices()List of commitment services of a line.LonggetCsi()Subscribed service CSI (Customer Service Identifier) number.StringgetDataCenterRegion()Subscribed service data center region.StringgetFundedAllocationValue()Funded allocation line value.StringgetId()SPM (Subscription Plan Management) internal subscribed service ID.BooleangetIsIntentToPay()Subscribed service intent to pay parameter.StringgetNetUnitPrice()Subscribed service net unit price.StringgetOperationType()Subscribed service operation type.LonggetOrderNumber()Sales order number associated with the subscribed service.StringgetOriginalPromoAmount()Subscribed service promotion amount.StringgetPartnerTransactionType()The name of the partner to which the subscription belongs, however depending on which subscription, the invoicing can differ.StringgetPricingModel()Subscribed service pricing model.SubscriptionProductgetProduct()StringgetProgramType()Subscribed service program type.StringgetPromoType()Subscribed service promotion type.StringgetQuantity()Subscribed service quantity.StringgetStatus()Subscribed service status.LonggetTermValue()Term value in months.StringgetTermValueUom()Term value UOM (Unit of Measure).DategetTimeEnd()Subscribed service end date.DategetTimeStart()Subscribed service start date.StringgetTotalValue()Subscribed service total value.StringgetUsedAmount()Subscribed service used amount.inthashCode()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","associatedSubscriptions"}) 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, List<AssociatedSubscriptions> associatedSubscriptions)
Deprecated.
-
-
Method Detail
-
builder
public static SubscriptionSubscribedService.Builder builder()
Create a new builder.
-
toBuilder
public SubscriptionSubscribedService.Builder toBuilder()
-
getId
public String getId()
SPM (Subscription Plan Management) 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()
The name of the partner to which the subscription belongs, however depending on which subscription, the invoicing can differ.- Returns:
- the value
-
getTermValue
public Long getTermValue()
Term value in months.- Returns:
- the value
-
getTermValueUom
public String getTermValueUom()
Term value UOM (Unit of Measure).- 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 with 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 (Customer Service Identifier) number.- Returns:
- the value
-
getIsIntentToPay
public Boolean getIsIntentToPay()
Subscribed service intent to pay parameter.- 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
-
getAssociatedSubscriptions
public List<AssociatedSubscriptions> getAssociatedSubscriptions()
List of Associated Subscriptions- 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
-
-