Class BillingPlanItem

java.lang.Object
com.mypurecloud.sdk.v2.model.BillingPlanItem
All Implemented Interfaces:
Serializable

public class BillingPlanItem extends Object implements Serializable
BillingPlanItem
See Also:
  • Constructor Details

    • BillingPlanItem

      public BillingPlanItem()
    • BillingPlanItem

      public BillingPlanItem(Boolean initWithEmptyList)
  • Method Details

    • itemNumber

      public BillingPlanItem itemNumber(String itemNumber)
      Item number.
    • getItemNumber

      public String getItemNumber()
    • setItemNumber

      public void setItemNumber(String itemNumber)
    • name

      public BillingPlanItem name(String name)
      Name of the item.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • type

      public BillingPlanItem type(String type)
      Type of the item.
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • function

      public BillingPlanItem function(String function)
      Function of the item.
    • getFunction

      public String getFunction()
    • setFunction

      public void setFunction(String function)
    • description

      public BillingPlanItem description(String description)
      Detailed description of the item.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • dateChargedThrough

      public BillingPlanItem dateChargedThrough(LocalDate dateChargedThrough)
      The date through which a customer has been billed for the charge. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateChargedThrough

      public LocalDate getDateChargedThrough()
    • setDateChargedThrough

      public void setDateChargedThrough(LocalDate dateChargedThrough)
    • currencyIsoCode

      public BillingPlanItem currencyIsoCode(String currencyIsoCode)
      Contains the ISO code for any currency allowed by the organization.
    • getCurrencyIsoCode

      public String getCurrencyIsoCode()
    • setCurrencyIsoCode

      public void setCurrencyIsoCode(String currencyIsoCode)
    • discountAmount

      public BillingPlanItem discountAmount(BigDecimal discountAmount)
      The amount of the discount.
    • getDiscountAmount

      public BigDecimal getDiscountAmount()
    • setDiscountAmount

      public void setDiscountAmount(BigDecimal discountAmount)
    • dateEffectiveStart

      public BillingPlanItem dateEffectiveStart(LocalDate dateEffectiveStart)
      The date when the Address became effective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateEffectiveStart

      public LocalDate getDateEffectiveStart()
    • setDateEffectiveStart

      public void setDateEffectiveStart(LocalDate dateEffectiveStart)
    • dateEffectiveEnd

      public BillingPlanItem dateEffectiveEnd(LocalDate dateEffectiveEnd)
      The date when the Address became effective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateEffectiveEnd

      public LocalDate getDateEffectiveEnd()
    • setDateEffectiveEnd

      public void setDateEffectiveEnd(LocalDate dateEffectiveEnd)
    • overagePrice

      public BillingPlanItem overagePrice(BigDecimal overagePrice)
      The price for units over the allowed amount.
    • getOveragePrice

      public BigDecimal getOveragePrice()
    • setOveragePrice

      public void setOveragePrice(BigDecimal overagePrice)
    • price

      public BillingPlanItem price(BigDecimal price)
      The price associated with the item expressed as a decimal.
    • getPrice

      public BigDecimal getPrice()
    • setPrice

      public void setPrice(BigDecimal price)
    • quantity

      public BillingPlanItem quantity(Integer quantity)
      The quantity of units.
    • getQuantity

      public Integer getQuantity()
    • setQuantity

      public void setQuantity(Integer quantity)
    • unitOfMeasure

      public BillingPlanItem unitOfMeasure(BillingPlanItem.UnitOfMeasureEnum unitOfMeasure)
      The unit of measure for the wallet.
    • getUnitOfMeasure

      public BillingPlanItem.UnitOfMeasureEnum getUnitOfMeasure()
    • setUnitOfMeasure

      public void setUnitOfMeasure(BillingPlanItem.UnitOfMeasureEnum unitOfMeasure)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object