Klasse Invoices

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

@Entity(name="host_Invoices") public class Invoices extends Object
  • Konstruktordetails

    • Invoices

      public Invoices()
  • Methodendetails

    • setProducts

      public void setProducts(List<InvoiceProducts> products)
    • getProducts

      public List<InvoiceProducts> getProducts()
    • setStatus

      public void setStatus(InvoiceStatus status)
    • getStatus

      public InvoiceStatus getStatus()
    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • getReceiver

      public User getReceiver()
    • setReceiver

      public void setReceiver(User receiver)
    • getIpv4

      public String getIpv4()
    • setIpv4

      public void setIpv4(String ipv4)
    • getIpv6

      public String getIpv6()
    • setIpv6

      public void setIpv6(String ipv6)
    • getNote

      public String getNote()
    • setNote

      public void setNote(String note)
    • getCreatedBy

      public String getCreatedBy()
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • getCreatedDate

      public OffsetDateTime getCreatedDate()
    • setCreatedDate

      public void setCreatedDate(OffsetDateTime createdDate)
    • getLastModifiedBy

      public String getLastModifiedBy()
    • setLastModifiedBy

      public void setLastModifiedBy(String lastModifiedBy)
    • getLastModifiedDate

      public OffsetDateTime getLastModifiedDate()
    • setLastModifiedDate

      public void setLastModifiedDate(OffsetDateTime lastModifiedDate)
    • calculateAmount

      public BigDecimal calculateAmount()
      Calculates the total amount of the invoice by summing up the amount of each product.
      Gibt zurück:
      The total amount of the invoice as a BigDecimal.
    • send

      public void send(boolean mailIO, boolean postIO)