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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String name, Object value) The account id to read the Orders.Read theOrderswith the specifiedOrder.getEmailAddress()excluding the orders with non-nullcustomerIdThe customer id to read the Orders.JSON data which isn't already stored in other fields.voidsetAccountId(String accountId) The account id to read the Orders.voidsetCustomerEmail(String customerEmail) Read theOrderswith the specifiedOrder.getEmailAddress()excluding the orders with non-nullcustomerIdvoidsetCustomerId(String customerId) The customer id to read the Orders.voidsetJsonMap(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 theOrderswith the specifiedOrder.getEmailAddress()excluding the orders with non-nullcustomerIdThis parameter is used only if the
customerIdis 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 theOrderswith the specifiedOrder.getEmailAddress()excluding the orders with non-nullcustomerIdThis parameter is used only if the
customerIdis null. -
setJsonMap
JSON data which isn't already stored in other fields.- Parameters:
jsonMap- JSON object data
-