Class ReadCustomerOrdersRequest
java.lang.Object
com.broadleafcommerce.orderoperation.web.endpoint.domain.ReadCustomerOrdersRequest
- All Implemented Interfaces:
Serializable
The request to read the customer Orders and its related data.
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) The account id to read the Orders.Read theOrders
with the specifiedOrder.getEmailAddress()
excluding the orders with non-nullcustomerId
The customer id to read the Orders.JSON data which isn't already stored in other fields.void
setAccountId
(String accountId) The account id to read the Orders.void
setCustomerEmail
(String customerEmail) Read theOrders
with the specifiedOrder.getEmailAddress()
excluding the orders with non-nullcustomerId
void
setCustomerId
(String customerId) The customer id to read the Orders.void
setJsonMap
(Map<String, Object> jsonMap) JSON data which isn't already stored in other fields.
-
Constructor Details
-
ReadCustomerOrdersRequest
public ReadCustomerOrdersRequest()
-
-
Method Details
-
addAttribute
-
getAttribute
-
getCustomerId
The customer id to read the Orders. -
getAccountId
The account id to read the Orders. -
getCustomerEmail
Read theOrders
with the specifiedOrder.getEmailAddress()
excluding the orders with non-nullcustomerId
This parameter is used only if the
customerId
is null. -
getJsonMap
JSON data which isn't already stored in other fields.- Returns:
- JSON object data
-
setCustomerId
The customer id to read the Orders. -
setAccountId
The account id to read the Orders. -
setCustomerEmail
Read theOrders
with the specifiedOrder.getEmailAddress()
excluding the orders with non-nullcustomerId
This parameter is used only if the
customerId
is null. -
setJsonMap
JSON data which isn't already stored in other fields.- Parameters:
jsonMap
- JSON object data
-