Class BillingContract

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

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

    • BillingContract

      public BillingContract()
    • BillingContract

      public BillingContract(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • externalNumber

      public BillingContract externalNumber(String externalNumber)
      Unique external number.
    • getExternalNumber

      public String getExternalNumber()
    • setExternalNumber

      public void setExternalNumber(String externalNumber)
    • status

      The status of the contract.
    • getStatus

      public BillingContract.StatusEnum getStatus()
    • setStatus

      public void setStatus(BillingContract.StatusEnum status)
    • commercialModel

      public BillingContract commercialModel(String commercialModel)
      The type of commercial model.
    • getCommercialModel

      public String getCommercialModel()
    • setCommercialModel

      public void setCommercialModel(String commercialModel)
    • purchaseOrderNumbers

      public BillingContract purchaseOrderNumbers(List<String> purchaseOrderNumbers)
      List of po numbers periods for this contract.
    • getPurchaseOrderNumbers

      public List<String> getPurchaseOrderNumbers()
    • setPurchaseOrderNumbers

      public void setPurchaseOrderNumbers(List<String> purchaseOrderNumbers)
    • billToCustomer

      public BillingContract billToCustomer(Customer billToCustomer)
      The bill to customer.
    • getBillToCustomer

      public Customer getBillToCustomer()
    • setBillToCustomer

      public void setBillToCustomer(Customer billToCustomer)
    • soldToCustomer

      public BillingContract soldToCustomer(Customer soldToCustomer)
      The sold to customer.
    • getSoldToCustomer

      public Customer getSoldToCustomer()
    • setSoldToCustomer

      public void setSoldToCustomer(Customer soldToCustomer)
    • endCustomer

      public BillingContract endCustomer(Customer endCustomer)
      The end customer.
    • getEndCustomer

      public Customer getEndCustomer()
    • setEndCustomer

      public void setEndCustomer(Customer endCustomer)
    • dateStart

      public BillingContract dateStart(LocalDate dateStart)
      The start date of the contract. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateStart

      public LocalDate getDateStart()
    • setDateStart

      public void setDateStart(LocalDate dateStart)
    • dateEnd

      public BillingContract dateEnd(LocalDate dateEnd)
      The end date of the contract. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateEnd

      public LocalDate getDateEnd()
    • setDateEnd

      public void setDateEnd(LocalDate dateEnd)
    • dateRampStart

      public BillingContract dateRampStart(LocalDate dateRampStart)
      the date when the first revenue or quantity in a ramped deal begins. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateRampStart

      public LocalDate getDateRampStart()
    • setDateRampStart

      public void setDateRampStart(LocalDate dateRampStart)
    • dateRampEnd

      public BillingContract dateRampEnd(LocalDate dateRampEnd)
      the date when the first revenue or quantity in a ramped deal ends. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDateRampEnd

      public LocalDate getDateRampEnd()
    • setDateRampEnd

      public void setDateRampEnd(LocalDate dateRampEnd)
    • billingPeriods

      public BillingContract billingPeriods(List<BillingContractPeriod> billingPeriods)
      List of billing periods for the contract.
    • getBillingPeriods

      public List<BillingContractPeriod> getBillingPeriods()
    • setBillingPeriods

      public void setBillingPeriods(List<BillingContractPeriod> billingPeriods)
    • plans

      public BillingContract plans(List<BillingPlan> plans)
      The collection of prices for the related organizations.
    • getPlans

      public List<BillingPlan> getPlans()
    • setPlans

      public void setPlans(List<BillingPlan> plans)
    • 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