java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v1.dto.CustomerBill

@Deprecated(since="2208") public class CustomerBill extends Object
Deprecated.
The billing account receives all charges (recurring, one time and usage) of the offers and products assigned to it during order process. Periodically according to billing cycle specifications attached to the billing account or as a result of an event, a customer bill (aka invoice) is produced. This customer bill concerns different related parties which play a role on it : for example, a customer bill is produced by an operator, is sent to a bill receiver and has to be paid by a payer. A payment method could be assigned to the customer bill to build the call of payment. Lettering process enables to assign automatically or manually incoming amount from payments to customer bills (payment items). A tax item is created for each tax rate used in the customer bill. The financial account represents a financial entity which records all customer’s accounting events : payment amount are recorded as credit and invoices amount are recorded as debit. It gives the customer overall balance (account balance). The customer bill is linked to one or more documents that can be downloaded via a provided url.
  • Constructor Details

    • CustomerBill

      public CustomerBill()
      Deprecated.
  • Method Details

    • id

      public CustomerBill id(String id)
      Deprecated.
    • getId

      public String getId()
      Deprecated.
      Unique identifier of he bill
      Returns:
      id
    • setId

      public void setId(String id)
      Deprecated.
    • href

      public CustomerBill href(String href)
      Deprecated.
    • getHref

      public String getHref()
      Deprecated.
      Bill unique reference
      Returns:
      href
    • setHref

      public void setHref(String href)
      Deprecated.
    • billDate

      public CustomerBill billDate(Date billDate)
      Deprecated.
    • getBillDate

      @Valid public @Valid Date getBillDate()
      Deprecated.
      Bill date
      Returns:
      billDate
    • setBillDate

      public void setBillDate(Date billDate)
      Deprecated.
    • billNo

      public CustomerBill billNo(String billNo)
      Deprecated.
    • getBillNo

      public String getBillNo()
      Deprecated.
      Bill reference known by the customer or the party and displayed on the bill. Could be different from the id
      Returns:
      billNo
    • setBillNo

      public void setBillNo(String billNo)
      Deprecated.
    • category

      public CustomerBill category(String category)
      Deprecated.
    • getCategory

      public String getCategory()
      Deprecated.
      Category of the bill produced : normal, duplicate, interim, last, trial customer or credit note for example
      Returns:
      category
    • setCategory

      public void setCategory(String category)
      Deprecated.
    • lastUpdate

      public CustomerBill lastUpdate(Date lastUpdate)
      Deprecated.
    • getLastUpdate

      @Valid public @Valid Date getLastUpdate()
      Deprecated.
      Date of bill last update
      Returns:
      lastUpdate
    • setLastUpdate

      public void setLastUpdate(Date lastUpdate)
      Deprecated.
    • nextBillDate

      public CustomerBill nextBillDate(Date nextBillDate)
      Deprecated.
    • getNextBillDate

      @Valid public @Valid Date getNextBillDate()
      Deprecated.
      ). Approximate date of the next bill production given for information (only used for onCycle bill)
      Returns:
      nextBillDate
    • setNextBillDate

      public void setNextBillDate(Date nextBillDate)
      Deprecated.
    • paymentDueDate

      public CustomerBill paymentDueDate(Date paymentDueDate)
      Deprecated.
    • getPaymentDueDate

      @Valid public @Valid Date getPaymentDueDate()
      Deprecated.
      Date at which the amount due should have been paid
      Returns:
      paymentDueDate
    • setPaymentDueDate

      public void setPaymentDueDate(Date paymentDueDate)
      Deprecated.
    • runType

      public CustomerBill runType(String runType)
      Deprecated.
    • getRunType

      public String getRunType()
      Deprecated.
      onCycle (a bill can be created as a result of a cycle run) or offCycle (a bill can be created as a result of other events such as customer request or account close)
      Returns:
      runType
    • setRunType

      public void setRunType(String runType)
      Deprecated.
    • amountDue

      public CustomerBill amountDue(Money amountDue)
      Deprecated.
    • getAmountDue

      @Valid public @Valid Money getAmountDue()
      Deprecated.
      Get amountDue
      Returns:
      amountDue
    • setAmountDue

      public void setAmountDue(Money amountDue)
      Deprecated.
    • appliedPayment

      public CustomerBill appliedPayment(List<AppliedPayment> appliedPayment)
      Deprecated.
    • addAppliedPaymentItem

      public CustomerBill addAppliedPaymentItem(AppliedPayment appliedPaymentItem)
      Deprecated.
    • getAppliedPayment

      @Valid public @Valid List<AppliedPayment> getAppliedPayment()
      Deprecated.
      Get appliedPayment
      Returns:
      appliedPayment
    • setAppliedPayment

      public void setAppliedPayment(List<AppliedPayment> appliedPayment)
      Deprecated.
    • billDocument

      public CustomerBill billDocument(List<AttachmentRefOrValue> billDocument)
      Deprecated.
    • addBillDocumentItem

      public CustomerBill addBillDocumentItem(AttachmentRefOrValue billDocumentItem)
      Deprecated.
    • getBillDocument

      @Valid public @Valid List<AttachmentRefOrValue> getBillDocument()
      Deprecated.
      Get billDocument
      Returns:
      billDocument
    • setBillDocument

      public void setBillDocument(List<AttachmentRefOrValue> billDocument)
      Deprecated.
    • billingAccount

      public CustomerBill billingAccount(BillingAccountRef billingAccount)
      Deprecated.
    • getBillingAccount

      @Valid public @Valid BillingAccountRef getBillingAccount()
      Deprecated.
      Get billingAccount
      Returns:
      billingAccount
    • setBillingAccount

      public void setBillingAccount(BillingAccountRef billingAccount)
      Deprecated.
    • billingPeriod

      public CustomerBill billingPeriod(TimePeriod billingPeriod)
      Deprecated.
    • getBillingPeriod

      @Valid public @Valid TimePeriod getBillingPeriod()
      Deprecated.
      Get billingPeriod
      Returns:
      billingPeriod
    • setBillingPeriod

      public void setBillingPeriod(TimePeriod billingPeriod)
      Deprecated.
    • financialAccount

      public CustomerBill financialAccount(FinancialAccountRef financialAccount)
      Deprecated.
    • getFinancialAccount

      @Valid public @Valid FinancialAccountRef getFinancialAccount()
      Deprecated.
      Get financialAccount
      Returns:
      financialAccount
    • setFinancialAccount

      public void setFinancialAccount(FinancialAccountRef financialAccount)
      Deprecated.
    • paymentMethod

      public CustomerBill paymentMethod(PaymentMethodRef paymentMethod)
      Deprecated.
    • getPaymentMethod

      @Valid public @Valid PaymentMethodRef getPaymentMethod()
      Deprecated.
      Get paymentMethod
      Returns:
      paymentMethod
    • setPaymentMethod

      public void setPaymentMethod(PaymentMethodRef paymentMethod)
      Deprecated.
    • relatedParty

      public CustomerBill relatedParty(List<RelatedPartyRef> relatedParty)
      Deprecated.
    • addRelatedPartyItem

      public CustomerBill addRelatedPartyItem(RelatedPartyRef relatedPartyItem)
      Deprecated.
    • getRelatedParty

      @Valid public @Valid List<RelatedPartyRef> getRelatedParty()
      Deprecated.
      Get relatedParty
      Returns:
      relatedParty
    • setRelatedParty

      public void setRelatedParty(List<RelatedPartyRef> relatedParty)
      Deprecated.
    • remainingAmount

      public CustomerBill remainingAmount(Money remainingAmount)
      Deprecated.
    • getRemainingAmount

      @Valid public @Valid Money getRemainingAmount()
      Deprecated.
      Get remainingAmount
      Returns:
      remainingAmount
    • setRemainingAmount

      public void setRemainingAmount(Money remainingAmount)
      Deprecated.
    • state

      public CustomerBill state(StateValue state)
      Deprecated.
    • getState

      @Valid public @Valid StateValue getState()
      Deprecated.
      Get state
      Returns:
      state
    • setState

      public void setState(StateValue state)
      Deprecated.
    • taxExcludedAmount

      public CustomerBill taxExcludedAmount(Money taxExcludedAmount)
      Deprecated.
    • getTaxExcludedAmount

      @Valid public @Valid Money getTaxExcludedAmount()
      Deprecated.
      Get taxExcludedAmount
      Returns:
      taxExcludedAmount
    • setTaxExcludedAmount

      public void setTaxExcludedAmount(Money taxExcludedAmount)
      Deprecated.
    • taxIncludedAmount

      public CustomerBill taxIncludedAmount(Money taxIncludedAmount)
      Deprecated.
    • getTaxIncludedAmount

      @Valid public @Valid Money getTaxIncludedAmount()
      Deprecated.
      Get taxIncludedAmount
      Returns:
      taxIncludedAmount
    • setTaxIncludedAmount

      public void setTaxIncludedAmount(Money taxIncludedAmount)
      Deprecated.
    • taxItem

      public CustomerBill taxItem(List<TaxItem> taxItem)
      Deprecated.
    • addTaxItemItem

      public CustomerBill addTaxItemItem(TaxItem taxItemItem)
      Deprecated.
    • getTaxItem

      @Valid public @Valid List<TaxItem> getTaxItem()
      Deprecated.
      Get taxItem
      Returns:
      taxItem
    • setTaxItem

      public void setTaxItem(List<TaxItem> taxItem)
      Deprecated.
    • atBaseType

      public CustomerBill atBaseType(String atBaseType)
      Deprecated.
    • getAtBaseType

      public String getAtBaseType()
      Deprecated.
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
      Deprecated.
    • atSchemaLocation

      public CustomerBill atSchemaLocation(String atSchemaLocation)
      Deprecated.
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Deprecated.
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
      Deprecated.
    • atType

      public CustomerBill atType(String atType)
      Deprecated.
    • getAtType

      public String getAtType()
      Deprecated.
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
      Deprecated.
    • equals

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

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object