java.lang.Object
com.broadleafcommerce.pricing.provider.external.domain.Order
All Implemented Interfaces:
Serializable

public class Order extends Object implements Serializable
See Also:
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      The ID of the order.
    • getCartId

      public String getCartId()
      The ID of the cart from which this order was created.
    • getOrderItems

      public List<OrderItem> getOrderItems()
      The list of OrderItems associated with this order.
    • getAttributes

      public Map<String,Object> getAttributes()
      Miscellaneous attributes for this order.
    • getInternalAttributes

      public Map<String,Object> getInternalAttributes()
      Miscellaneous internal attributes for this item. Distinguished from getAttributes() in that this map is used for attributes that assist in the internal working of Broadleaf MicroServices. For example, attributes to help with processing the order's checkout.
    • setId

      public void setId(String id)
      The ID of the order.
    • setCartId

      public void setCartId(String cartId)
      The ID of the cart from which this order was created.
    • setOrderItems

      public void setOrderItems(List<OrderItem> orderItems)
      The list of OrderItems associated with this order.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Miscellaneous attributes for this order.
    • setInternalAttributes

      public void setInternalAttributes(Map<String,Object> internalAttributes)
      Miscellaneous internal attributes for this item. Distinguished from getAttributes() in that this map is used for attributes that assist in the internal working of Broadleaf MicroServices. For example, attributes to help with processing the order's checkout.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object