Class ReadCustomerOrdersRequest

java.lang.Object
com.broadleafcommerce.orderoperation.web.endpoint.domain.ReadCustomerOrdersRequest
All Implemented Interfaces:
Serializable

public class ReadCustomerOrdersRequest extends Object implements Serializable
The request to read the customer Orders and its related data.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • ReadCustomerOrdersRequest

      public ReadCustomerOrdersRequest()
  • Method Details

    • addAttribute

      public void addAttribute(String name, Object value)
    • getAttribute

      public Map<String,Object> getAttribute()
    • getCustomerId

      @Nullable public String getCustomerId()
      The customer id to read the Orders.
    • getAccountId

      @Nullable public String getAccountId()
      The account id to read the Orders.
    • getCustomerEmail

      @Nullable public String getCustomerEmail()
      Read the Orders with the specified Order.getEmailAddress() excluding the orders with non-null customerId

      This parameter is used only if the customerId is null.

    • getJsonMap

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

      public void setCustomerId(@Nullable String customerId)
      The customer id to read the Orders.
    • setAccountId

      public void setAccountId(@Nullable String accountId)
      The account id to read the Orders.
    • setCustomerEmail

      public void setCustomerEmail(@Nullable String customerEmail)
      Read the Orders with the specified Order.getEmailAddress() excluding the orders with non-null customerId

      This parameter is used only if the customerId is null.

    • setJsonMap

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