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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.order.common.domain.Address
The shipping address for this fulfillment group.Miscellaneous attributes for this fulfillment group.com.broadleafcommerce.order.common.domain.FulfillmentOption
The fulfillment option chosen for thegetType()
.com.broadleafcommerce.order.common.domain.PricedFulfillmentOption
The 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.int
hashCode()
void
setAddress
(com.broadleafcommerce.order.common.domain.Address address) The shipping address for this fulfillment group.void
setAttributes
(Map<String, Object> attributes) Miscellaneous attributes for this fulfillment group.void
setFulfillmentOption
(com.broadleafcommerce.order.common.domain.FulfillmentOption fulfillmentOption) The fulfillment option chosen for thegetType()
.void
setPricedFulfillmentOption
(com.broadleafcommerce.order.common.domain.PricedFulfillmentOption pricedFulfillmentOption) The fulfillment option chosen for thegetType()
.void
setReferenceNumber
(String referenceNumber) The reference number of the fulfillment group to update.void
The 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.attributes
map.- 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.attributes
map.- Parameters:
attributes
- Miscellaneous attributes for this fulfillment group.
-
equals
- Overrides:
equals
in classCartModifyingRequest
-
canEqual
- Overrides:
canEqual
in classCartModifyingRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCartModifyingRequest
-
toString
- Overrides:
toString
in classCartModifyingRequest
-