Class CustomerOrderInfo
java.lang.Object
com.broadleafcommerce.tabby.provider.domain.CustomerOrderInfo
- All Implemented Interfaces:
Serializable
Combined domain representing an order and its fulfillments.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) Add a value to the JSON data.getAttribute
(String name) Get a value from the JSON data.The fulfillments for the order.JSON data which isn't already stored in other fields.getOrder()
void
setFulfillments
(List<OrderFulfillment> fulfillments) The fulfillments for the order.void
setJsonMap
(Map<String, Object> jsonMap) JSON data which isn't already stored in other fields.void
-
Constructor Details
-
CustomerOrderInfo
public CustomerOrderInfo()
-
-
Method Details
-
addAttribute
Add a value to the JSON data. Necessary for populating the JSON from the payload.- Parameters:
name
- the attribute namevalue
- the attribute value
-
getAttribute
Get a value from the JSON data. Necessary for populating the JSON from the payload.- Parameters:
name
- the attribute name
-
getSubmitDate
-
getOrder
-
getFulfillments
The fulfillments for the order.- Returns:
- the fulfillments for the order.
-
getJsonMap
JSON data which isn't already stored in other fields.- Returns:
- JSON object data
-
setOrder
-
setFulfillments
The fulfillments for the order.- Parameters:
fulfillments
- the order fulfillments.
-
setJsonMap
JSON data which isn't already stored in other fields.- Parameters:
jsonMap
- JSON object data
-