Class BillingOption

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class BillingOption
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Information about a 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.String getBillingUnitId()
      Gets the billingUnitId.
      java.lang.String getCategory()
      Gets the category.
      java.lang.Long getDurationInMonths()
      Gets the durationInMonths.
      java.util.Date getEndDate()
      Gets the endDate.
      java.lang.String getId()
      Gets the id.
      java.lang.Long getLineItemId()
      Gets the lineItemId.
      java.util.Map<java.lang.String,​java.lang.Object> getPaymentInstrument()
      Gets the paymentInstrument.
      java.lang.String getRenewalModeCode()
      Gets the renewalModeCode.
      java.util.Date getStartDate()
      Gets the startDate.
      java.lang.String getState()
      Gets the state.
      java.lang.String getType()
      Gets the type.
      java.util.Date getUpdatedAt()
      Gets the updatedAt.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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