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:
  • Constructor Details

    • UpdateFulfillmentGroupRequest

      public UpdateFulfillmentGroupRequest()
  • Method Details

    • 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 the getType().
    • 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 the FulfillmentGroup.attributes map.
      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 the getType().
    • 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 the FulfillmentGroup.attributes map.
      Parameters:
      attributes - Miscellaneous attributes for this fulfillment group.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class CartModifyingRequest
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class CartModifyingRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class CartModifyingRequest
    • toString

      public String toString()
      Overrides:
      toString in class CartModifyingRequest