Class UpdateFulfillmentGroupRequest
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
-
- com.broadleafcommerce.cartoperation.web.endpoint.domain.UpdateFulfillmentGroupRequest
-
- All Implemented Interfaces:
CartVersionedRequest,Serializable
public class UpdateFulfillmentGroupRequest extends CartModifyingRequest implements Serializable
A group of items designated to a certain fulfillment location and type.- Author:
- Chad Harchar (charchar)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateFulfillmentGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)com.broadleafcommerce.order.common.domain.AddressgetAddress()The shipping address for this fulfillment group.Map<String,Object>getAttributes()Miscellaneous attributes for this fulfillment group.com.broadleafcommerce.order.common.domain.FulfillmentOptiongetFulfillmentOption()The fulfillment option chosen for thegetType().StringgetType()The type of means by which this fulfillment group is fulfilled.inthashCode()voidsetAddress(com.broadleafcommerce.order.common.domain.Address address)The shipping address for this fulfillment group.voidsetAttributes(Map<String,Object> attributes)Miscellaneous attributes for this fulfillment group.voidsetFulfillmentOption(com.broadleafcommerce.order.common.domain.FulfillmentOption fulfillmentOption)The fulfillment option chosen for thegetType().voidsetType(String type)The type of means by which this fulfillment group is fulfilled.StringtoString()-
Methods inherited from class com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
getCartVersion, getVersion, setCartVersion, setVersion
-
-
-
-
Method Detail
-
getType
public String getType()
The type of means by which this fulfillment group is fulfilled. This could be SHIP, PICKUP, or VIRTUAL, for example.- Returns:
- The type of means by which this fulfillment group is fulfilled.
- See Also:
FulfillmentType
-
getFulfillmentOption
public com.broadleafcommerce.order.common.domain.FulfillmentOption getFulfillmentOption()
The fulfillment option chosen for thegetType().
-
getAddress
public com.broadleafcommerce.order.common.domain.Address getAddress()
The shipping address for this fulfillment group.- Returns:
- The shipping address for this fulfillment group.
-
getAttributes
public Map<String,Object> getAttributes()
Miscellaneous attributes for this fulfillment group. All attributes will be added to theFulfillmentGroup.attributesmap.- Returns:
- Miscellaneous attributes for this fulfillment group.
-
setType
public void setType(String type)
The type of means by which this fulfillment group is fulfilled. This could be SHIP, PICKUP, or VIRTUAL, for example.- Parameters:
type- The type of means by which this fulfillment group is fulfilled.- See Also:
FulfillmentType
-
setFulfillmentOption
public void setFulfillmentOption(com.broadleafcommerce.order.common.domain.FulfillmentOption fulfillmentOption)
The fulfillment option chosen for thegetType().
-
setAddress
public void setAddress(com.broadleafcommerce.order.common.domain.Address address)
The shipping address for this fulfillment group.- Parameters:
address- The shipping address for this fulfillment group.
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Miscellaneous attributes for this fulfillment group. All attributes will be added to theFulfillmentGroup.attributesmap.- Parameters:
attributes- Miscellaneous attributes for this fulfillment group.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCartModifyingRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classCartModifyingRequest
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCartModifyingRequest
-
toString
public String toString()
- Overrides:
toStringin classCartModifyingRequest
-
-