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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FulfillmentOptionPricedResponse()FulfillmentOptionPricedResponse(FulfillmentOption fulfillmentOption, javax.money.MonetaryAmount fulfillmentPriceCalculated, Instant estimatedDeliveryDate, Map<String,FulfillmentPriceInfo> fulfillmentPriceInfos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDescription()InstantgetEstimatedDeliveryDate()The estimated delivery date.FulfillmentOptiongetFulfillmentOption()javax.money.MonetaryAmountgetFulfillmentPriceCalculated()The total fulfillment price calculated.Map<String,FulfillmentPriceInfo>getFulfillmentPriceInfos()The pricing infos for each of the line items, keyed by item id.StringgetName()StringgetTaxCode()inthashCode()booleanisTaxable()booleanisUseFlatRates()voidsetDescription(String description)voidsetEstimatedDeliveryDate(Instant estimatedDeliveryDate)The estimated delivery date.voidsetFulfillmentOption(FulfillmentOption fulfillmentOption)voidsetFulfillmentPriceCalculated(javax.money.MonetaryAmount fulfillmentPriceCalculated)The total fulfillment price calculated.voidsetFulfillmentPriceInfos(Map<String,FulfillmentPriceInfo> fulfillmentPriceInfos)The pricing infos for each of the line items, keyed by item id.voidsetName(String name)voidsetTaxable(boolean taxable)voidsetTaxCode(String taxCode)voidsetUseFlatRates(boolean useFlatRates)StringtoString()
-
-
-
Constructor Detail
-
FulfillmentOptionPricedResponse
public FulfillmentOptionPricedResponse(FulfillmentOption fulfillmentOption, javax.money.MonetaryAmount fulfillmentPriceCalculated, Instant estimatedDeliveryDate, Map<String,FulfillmentPriceInfo> fulfillmentPriceInfos)
-
FulfillmentOptionPricedResponse
public FulfillmentOptionPricedResponse()
-
-
Method Detail
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
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)
-
-