Class FulfillmentOriginInfo

java.lang.Object
com.broadleafcommerce.fulfillment.common.domain.FulfillmentOriginInfo

public class FulfillmentOriginInfo extends Object
Indicates fulfillment origin information such as inventory location for a FulfillmentPricingItem.
  • Constructor Details

    • FulfillmentOriginInfo

      public FulfillmentOriginInfo()
  • Method Details

    • getInventoryLocationRef

      @NonNull public @NonNull String getInventoryLocationRef()
      The inventory location where this product will be fulfilled from. Only required for implementations that have pricing specific to origin and destination pairs.
    • getAdditionalAttributes

      @NonNull public @NonNull Map<String,Object> getAdditionalAttributes()
      Map to hold arbitrary additional attributes. This is intended to allow an application to pass in additional data about the inventory location that can drive sorting algorithms. For example, if the system should prefer calculators that can handle the inventory locations closest to the customer.
    • setInventoryLocationRef

      public void setInventoryLocationRef(@NonNull @NonNull String inventoryLocationRef)
      The inventory location where this product will be fulfilled from. Only required for implementations that have pricing specific to origin and destination pairs.
    • setAdditionalAttributes

      public void setAdditionalAttributes(@NonNull @NonNull Map<String,Object> additionalAttributes)
      Map to hold arbitrary additional attributes. This is intended to allow an application to pass in additional data about the inventory location that can drive sorting algorithms. For example, if the system should prefer calculators that can handle the inventory locations closest to the customer.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object