Class Order

java.lang.Object
org.bookstore.order.entity.Order

public class Order extends Object
  • Constructor Details

    • Order

      public Order()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getDate

      public LocalDateTime getDate()
    • setDate

      public void setDate(LocalDateTime date)
    • getAmount

      public BigDecimal getAmount()
    • setAmount

      public void setAmount(BigDecimal amount)
    • getStatus

      public OrderStatus getStatus()
    • setStatus

      public void setStatus(OrderStatus status)
    • getCustomer

      public Customer getCustomer()
    • setCustomer

      public void setCustomer(Customer customer)
    • getAddress

      public Address getAddress()
    • setAddress

      public void setAddress(Address address)
    • getItems

      public List<OrderItem> getItems()
    • setItems

      public void setItems(List<OrderItem> items)
    • getPayment

      public Payment getPayment()
    • setPayment

      public void setPayment(Payment payment)