Class FulfillmentStatusChangeRequest
- java.lang.Object
-
- com.broadleafcommerce.orderoperation.domain.FulfillmentStatusChangeRequest
-
- All Implemented Interfaces:
Serializable
public class FulfillmentStatusChangeRequest extends Object implements Serializable
A request DTO for changing the status of a fulfillment, or partially changing the status of some of the items in that fulfillment.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FulfillmentStatusChangeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetFulfillmentId()The ID of the fulfillment to have its status changed.Map<String,Integer>getItemQuantities()The quantities of each fulfillment item which should change status.StringgetStatus()The status to change the fulfillment to.inthashCode()voidsetFulfillmentId(String fulfillmentId)The ID of the fulfillment to have its status changed.voidsetItemQuantities(Map<String,Integer> itemQuantities)The quantities of each fulfillment item which should change status.voidsetStatus(String status)The status to change the fulfillment to.StringtoString()
-
-
-
Method Detail
-
getFulfillmentId
public String getFulfillmentId()
The ID of the fulfillment to have its status changed.- Returns:
- the ID of the fulfillment to have its status changed
-
getStatus
public String getStatus()
The status to change the fulfillment to.- Returns:
- the status to change the fulfillment to
-
getItemQuantities
public Map<String,Integer> getItemQuantities()
The quantities of each fulfillment item which should change status.If empty or null, then the entire fulfillment will change status. Otherwise, if only a subset of the items and quantities are included, then the unchanged item quantities will be split into a new fulfillment with the previous status.
- Returns:
- the quantities of each fulfillment item which should change status
-
setFulfillmentId
public void setFulfillmentId(String fulfillmentId)
The ID of the fulfillment to have its status changed.- Parameters:
fulfillmentId- the ID of the fulfillment to have its status changed
-
setStatus
public void setStatus(String status)
The status to change the fulfillment to.- Parameters:
status- the status to change the fulfillment to
-
setItemQuantities
public void setItemQuantities(Map<String,Integer> itemQuantities)
The quantities of each fulfillment item which should change status.If empty or null, then the entire fulfillment will change status. Otherwise, if only a subset of the items and quantities are included, then the unchanged item quantities will be split into a new fulfillment with the previous status.
- Parameters:
itemQuantities- the quantities of each fulfillment item which should change status
-
canEqual
protected boolean canEqual(Object other)
-
-