Class 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:
    Serialized Form
    • Constructor Detail

      • FulfillmentOptionPricedResponse

        public FulfillmentOptionPricedResponse()
    • Method Detail

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode 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)