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)
    • getCreditCard

      public CreditCard getCreditCard()
    • setCreditCard

      public void setCreditCard(CreditCard creditCard)
    • getItems

      public List<OrderItem> getItems()
    • setItems

      public void setItems(List<OrderItem> items)