Class CustomerOrderInfo

java.lang.Object
com.broadleafcommerce.tabby.provider.domain.CustomerOrderInfo
All Implemented Interfaces:
Serializable

public class CustomerOrderInfo extends Object implements Serializable
Combined domain representing an order and its fulfillments.
See Also:
  • Constructor Details

    • CustomerOrderInfo

      public CustomerOrderInfo()
  • Method Details

    • addAttribute

      public void addAttribute(String name, Object value)
      Add a value to the JSON data. Necessary for populating the JSON from the payload.
      Parameters:
      name - the attribute name
      value - the attribute value
    • getAttribute

      public Object getAttribute(String name)
      Get a value from the JSON data. Necessary for populating the JSON from the payload.
      Parameters:
      name - the attribute name
    • getSubmitDate

      @Nullable public Instant getSubmitDate()
    • getOrder

      public Order getOrder()
    • getFulfillments

      public List<OrderFulfillment> getFulfillments()
      The fulfillments for the order.
      Returns:
      the fulfillments for the order.
    • getJsonMap

      public Map<String,Object> getJsonMap()
      JSON data which isn't already stored in other fields.
      Returns:
      JSON object data
    • setOrder

      public void setOrder(Order order)
    • setFulfillments

      public void setFulfillments(List<OrderFulfillment> fulfillments)
      The fulfillments for the order.
      Parameters:
      fulfillments - the order fulfillments.
    • setJsonMap

      public void setJsonMap(Map<String,Object> jsonMap)
      JSON data which isn't already stored in other fields.
      Parameters:
      jsonMap - JSON object data