Class CustomerOrderInfo
java.lang.Object
com.broadleafcommerce.orderoperation.web.endpoint.domain.CustomerOrderInfo
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.policy.Owned
,Serializable
public class CustomerOrderInfo
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.policy.Owned
A DTO object that contains the consolidated information about the order, its fulfillments and any
other data requested.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) List<com.broadleafcommerce.order.client.domain.OrderFulfillment>
JSON data which isn't already stored in other fields.com.broadleafcommerce.order.client.domain.Order
getOrder()
void
setFulfillments
(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) void
setJsonMap
(Map<String, Object> jsonMap) JSON data which isn't already stored in other fields.void
setOrder
(com.broadleafcommerce.order.client.domain.Order order)
-
Constructor Details
-
CustomerOrderInfo
public CustomerOrderInfo()
-
-
Method Details
-
addAttribute
-
getAttribute
-
getOwnerIdentifier
- Specified by:
getOwnerIdentifier
in interfacecom.broadleafcommerce.data.tracking.core.policy.Owned
-
getOrder
public com.broadleafcommerce.order.client.domain.Order getOrder() -
getFulfillments
-
getJsonMap
JSON data which isn't already stored in other fields.- Returns:
- JSON object data
-
setOrder
public void setOrder(com.broadleafcommerce.order.client.domain.Order order) -
setFulfillments
public void setFulfillments(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments) -
setJsonMap
JSON data which isn't already stored in other fields.- Parameters:
jsonMap
- JSON object data
-