Klasse InvoiceProducts

java.lang.Object
de.bytestore.hostinger.entity.ecommerce.InvoiceProducts

@Entity(name="host_InvoiceProducts") public class InvoiceProducts extends Object
  • Konstruktordetails

    • InvoiceProducts

      public InvoiceProducts()
  • Methodendetails

    • getAmount

      public Integer getAmount()
    • setAmount

      public void setAmount(Integer amount)
    • getProduct

      public Products getProduct()
    • setProduct

      public void setProduct(Products product)
    • getInvoice

      public Invoices getInvoice()
    • setInvoice

      public void setInvoice(Invoices invoice)
    • getLastModifiedDate

      public OffsetDateTime getLastModifiedDate()
    • setLastModifiedDate

      public void setLastModifiedDate(OffsetDateTime lastModifiedDate)
    • getLastModifiedBy

      public String getLastModifiedBy()
    • setLastModifiedBy

      public void setLastModifiedBy(String lastModifiedBy)
    • getCreatedDate

      public OffsetDateTime getCreatedDate()
    • setCreatedDate

      public void setCreatedDate(OffsetDateTime createdDate)
    • getCreatedBy

      public String getCreatedBy()
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • calculateAmount

      public BigDecimal calculateAmount()
      Calculates the amount of the invoice product by multiplying the amount with the price of the product.
      Gibt zurück:
      The calculated amount as a BigDecimal.