Class FulfillmentOptionPricedResponse

java.lang.Object
com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
All Implemented Interfaces:
Serializable

public class FulfillmentOptionPricedResponse extends Object implements Serializable
Response DTO from a FulfillmentPricingProvider that contains fulfillment price information for items.
Author:
Chad Harchar (charchar)
See Also:
  • Constructor Details

    • FulfillmentOptionPricedResponse

      public FulfillmentOptionPricedResponse(FulfillmentOption fulfillmentOption, javax.money.MonetaryAmount fulfillmentPriceCalculated, Instant estimatedDeliveryDate, Map<String,FulfillmentPriceInfo> fulfillmentPriceInfos)
    • FulfillmentOptionPricedResponse

      public FulfillmentOptionPricedResponse()
  • Method Details

    • getFulfillmentOption

      public FulfillmentOption getFulfillmentOption()
    • getFulfillmentPriceCalculated

      public javax.money.MonetaryAmount getFulfillmentPriceCalculated()
      The total fulfillment price calculated.
      Returns:
      The total fulfillment price calculated.
    • getEstimatedDeliveryDate

      public Instant getEstimatedDeliveryDate()
      The estimated delivery date.
      Returns:
      The estimated delivery date.
    • getFulfillmentPriceInfos

      public Map<String,FulfillmentPriceInfo> getFulfillmentPriceInfos()
      The pricing infos for each of the line items, keyed by item id.
      Returns:
      The pricing infos for each of the line items.
    • setFulfillmentOption

      public void setFulfillmentOption(FulfillmentOption fulfillmentOption)
    • setFulfillmentPriceCalculated

      public void setFulfillmentPriceCalculated(javax.money.MonetaryAmount fulfillmentPriceCalculated)
      The total fulfillment price calculated.
      Parameters:
      fulfillmentPriceCalculated - The total fulfillment price calculated.
    • setEstimatedDeliveryDate

      public void setEstimatedDeliveryDate(Instant estimatedDeliveryDate)
      The estimated delivery date.
      Parameters:
      estimatedDeliveryDate - The estimated delivery date.
    • setFulfillmentPriceInfos

      public void setFulfillmentPriceInfos(Map<String,FulfillmentPriceInfo> fulfillmentPriceInfos)
      The pricing infos for each of the line items, keyed by item id.
      Parameters:
      fulfillmentPriceInfos - The pricing infos for each of the line items.
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • isUseFlatRates

      public boolean isUseFlatRates()
    • getTaxCode

      public String getTaxCode()
    • isTaxable

      public boolean isTaxable()
    • setName

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setUseFlatRates

      public void setUseFlatRates(boolean useFlatRates)
    • setTaxCode

      public void setTaxCode(String taxCode)
    • setTaxable

      public void setTaxable(boolean taxable)