Class BillingOption
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.enterprise_billing_units.v1.model.BillingOption
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class BillingOption extends com.ibm.cloud.sdk.core.service.model.GenericModelInformation about a billing option.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBillingOption.CategoryThe category of the billing option.static interfaceBillingOption.StateThe state of the billing option.static interfaceBillingOption.TypeThe type of billing option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getBillingSystem()Gets the billingSystem.java.lang.StringgetBillingUnitId()Gets the billingUnitId.java.lang.StringgetCategory()Gets the category.java.lang.LonggetDurationInMonths()Gets the durationInMonths.java.util.DategetEndDate()Gets the endDate.java.lang.StringgetId()Gets the id.java.lang.LonggetLineItemId()Gets the lineItemId.java.util.Map<java.lang.String,java.lang.Object>getPaymentInstrument()Gets the paymentInstrument.java.lang.StringgetRenewalModeCode()Gets the renewalModeCode.java.util.DategetStartDate()Gets the startDate.java.lang.StringgetState()Gets the state.java.lang.StringgetType()Gets the type.java.util.DategetUpdatedAt()Gets the updatedAt.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id. The ID of the billing option.- Returns:
- the id
-
getBillingUnitId
public java.lang.String getBillingUnitId()
Gets the billingUnitId. The ID of the billing unit that's associated with the billing option.- Returns:
- the billingUnitId
-
getStartDate
public java.util.Date getStartDate()
Gets the startDate. The start date of billing option.- Returns:
- the startDate
-
getEndDate
public java.util.Date getEndDate()
Gets the endDate. The end date of billing option.- Returns:
- the endDate
-
getState
public java.lang.String getState()
Gets the state. The state of the billing option. The valid values include `ACTIVE, `SUSPENDED`, and `CANCELED`.- Returns:
- the state
-
getType
public java.lang.String getType()
Gets the type. The type of billing option. The valid values are `SUBSCRIPTION` and `OFFER`.- Returns:
- the type
-
getCategory
public java.lang.String getCategory()
Gets the category. The category of the billing option. The valid values are `PLATFORM`, `SERVICE`, and `SUPPORT`.- Returns:
- the category
-
getPaymentInstrument
public java.util.Map<java.lang.String,java.lang.Object> getPaymentInstrument()
Gets the paymentInstrument. The payment method for support.- Returns:
- the paymentInstrument
-
getDurationInMonths
public java.lang.Long getDurationInMonths()
Gets the durationInMonths. The duration of the billing options in months.- Returns:
- the durationInMonths
-
getLineItemId
public java.lang.Long getLineItemId()
Gets the lineItemId. The line item ID for support.- Returns:
- the lineItemId
-
getBillingSystem
public java.util.Map<java.lang.String,java.lang.Object> getBillingSystem()
Gets the billingSystem. The support billing system.- Returns:
- the billingSystem
-
getRenewalModeCode
public java.lang.String getRenewalModeCode()
Gets the renewalModeCode. The renewal code for support. This code denotes whether the subscription automatically renews, is assessed monthly, and so on.- Returns:
- the renewalModeCode
-
getUpdatedAt
public java.util.Date getUpdatedAt()
Gets the updatedAt. The date when the billing option was updated.- Returns:
- the updatedAt
-
-