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
ConstructorDescriptionFulfillmentOptionPricedResponse
(FulfillmentOption fulfillmentOption, javax.money.MonetaryAmount fulfillmentPriceCalculated, Instant estimatedDeliveryDate, Map<String, FulfillmentPriceInfo> fulfillmentPriceInfos) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The estimated delivery date.javax.money.MonetaryAmount
The total fulfillment price calculated.The pricing infos for each of the line items, keyed by item id.getName()
int
hashCode()
boolean
boolean
void
setDescription
(String description) void
setEstimatedDeliveryDate
(Instant estimatedDeliveryDate) The estimated delivery date.void
setFulfillmentOption
(FulfillmentOption fulfillmentOption) void
setFulfillmentPriceCalculated
(javax.money.MonetaryAmount fulfillmentPriceCalculated) The total fulfillment price calculated.void
setFulfillmentPriceInfos
(Map<String, FulfillmentPriceInfo> fulfillmentPriceInfos) The pricing infos for each of the line items, keyed by item id.void
void
setTaxable
(boolean taxable) void
setTaxCode
(String taxCode) void
setUseFlatRates
(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)
-