Class UpdateFulfillmentGroupRequest
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
com.broadleafcommerce.cartoperation.web.endpoint.domain.UpdateFulfillmentGroupRequest
- All Implemented Interfaces:
CartVersionedRequest,Serializable
A group of items designated to a certain fulfillment location and type.
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.order.common.domain.AddressThe shipping address for this fulfillment group.Miscellaneous attributes for this fulfillment group.com.broadleafcommerce.order.common.domain.FulfillmentOptionThe fulfillment option chosen for thegetType().com.broadleafcommerce.order.common.domain.PricedFulfillmentOptionThe fulfillment option chosen for thegetType().The reference number of the fulfillment group to update.getType()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().voidsetPricedFulfillmentOption(com.broadleafcommerce.order.common.domain.PricedFulfillmentOption pricedFulfillmentOption) The fulfillment option chosen for thegetType().voidsetReferenceNumber(String referenceNumber) The reference number of the fulfillment group to update.voidThe type of means by which this fulfillment group is fulfilled.toString()Methods inherited from class com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
getCartVersion, getVersion, setCartVersion, setVersion
-
Constructor Details
-
UpdateFulfillmentGroupRequest
public UpdateFulfillmentGroupRequest()
-
-
Method Details
-
getReferenceNumber
The reference number of the fulfillment group to update.- Returns:
- the reference number of the fulfillment group to update
-
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
@Nullable public com.broadleafcommerce.order.common.domain.FulfillmentOption getFulfillmentOption()The fulfillment option chosen for thegetType(). -
getPricedFulfillmentOption
@Nullable public com.broadleafcommerce.order.common.domain.PricedFulfillmentOption getPricedFulfillmentOption()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
Miscellaneous attributes for this fulfillment group. All attributes will be added to theFulfillmentGroup.attributesmap.- Returns:
- Miscellaneous attributes for this fulfillment group.
-
setReferenceNumber
The reference number of the fulfillment group to update.- Parameters:
referenceNumber- the reference number of the fulfillment group to update
-
setType
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(@Nullable com.broadleafcommerce.order.common.domain.FulfillmentOption fulfillmentOption) The fulfillment option chosen for thegetType(). -
setPricedFulfillmentOption
public void setPricedFulfillmentOption(@Nullable com.broadleafcommerce.order.common.domain.PricedFulfillmentOption pricedFulfillmentOption) 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
Miscellaneous attributes for this fulfillment group. All attributes will be added to theFulfillmentGroup.attributesmap.- Parameters:
attributes- Miscellaneous attributes for this fulfillment group.
-
equals
- Overrides:
equalsin classCartModifyingRequest
-
canEqual
- Overrides:
canEqualin classCartModifyingRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classCartModifyingRequest
-
toString
- Overrides:
toStringin classCartModifyingRequest
-