Class FulfillmentOptionPricedResponse
java.lang.Object
com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
- All Implemented Interfaces:
Serializable
Response DTO from a FulfillmentPricingProvider that contains fulfillment price information for
items.
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFulfillmentOptionPricedResponse(FulfillmentOption fulfillmentOption, javax.money.MonetaryAmount fulfillmentPriceCalculated, Instant estimatedDeliveryDate, Map<String, FulfillmentPriceInfo> fulfillmentPriceInfos) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe estimated delivery date.javax.money.MonetaryAmountThe total fulfillment price calculated.The pricing infos for each of the line items, keyed by item id.getName()inthashCode()booleanbooleanvoidsetDescription(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.voidvoidsetTaxable(boolean taxable) voidsetTaxCode(String taxCode) voidsetUseFlatRates(boolean useFlatRates) toString()
-
Constructor Details
-
FulfillmentOptionPricedResponse
public FulfillmentOptionPricedResponse(FulfillmentOption fulfillmentOption, javax.money.MonetaryAmount fulfillmentPriceCalculated, Instant estimatedDeliveryDate, Map<String, FulfillmentPriceInfo> fulfillmentPriceInfos) -
FulfillmentOptionPricedResponse
public FulfillmentOptionPricedResponse()
-
-
Method Details
-
getFulfillmentOption
-
getFulfillmentPriceCalculated
public javax.money.MonetaryAmount getFulfillmentPriceCalculated()The total fulfillment price calculated.- Returns:
- The total fulfillment price calculated.
-
getEstimatedDeliveryDate
The estimated delivery date.- Returns:
- The estimated delivery date.
-
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
-
setFulfillmentPriceCalculated
public void setFulfillmentPriceCalculated(javax.money.MonetaryAmount fulfillmentPriceCalculated) The total fulfillment price calculated.- Parameters:
fulfillmentPriceCalculated- The total fulfillment price calculated.
-
setEstimatedDeliveryDate
The estimated delivery date.- Parameters:
estimatedDeliveryDate- The estimated delivery date.
-
setFulfillmentPriceInfos
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getName
-
getDescription
-
isUseFlatRates
public boolean isUseFlatRates() -
getTaxCode
-
isTaxable
public boolean isTaxable() -
setName
-
setDescription
-
setUseFlatRates
public void setUseFlatRates(boolean useFlatRates) -
setTaxCode
-
setTaxable
public void setTaxable(boolean taxable)
-