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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDescription()
Instant
getEstimatedDeliveryDate()
The estimated delivery date.FulfillmentOption
getFulfillmentOption()
javax.money.MonetaryAmount
getFulfillmentPriceCalculated()
The total fulfillment price calculated.Map<String,FulfillmentPriceInfo>
getFulfillmentPriceInfos()
The pricing infos for each of the line items, keyed by item id.String
getName()
String
getTaxCode()
int
hashCode()
boolean
isTaxable()
boolean
isUseFlatRates()
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
setName(String name)
void
setTaxable(boolean taxable)
void
setTaxCode(String taxCode)
void
setUseFlatRates(boolean useFlatRates)
String
toString()
-
-
-
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)
-
-