Class FulfillmentPriceTier
java.lang.Object
com.broadleafcommerce.fulfillment.domain.FulfillmentPriceTier
- All Implemented Interfaces:
Serializable
The tiers to determine fulfillment price. Could be banded by merchandise price or weight.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The fulfillment price of this tier.@NonNull BigDecimal
The banded min value.Optional override for Operation Type to determine if this tier is applied with a fixed amount or a rate.int
hashCode()
void
setAmount
(BigDecimal amount) The fulfillment price of this tier.void
setMinValue
(@NonNull BigDecimal minValue) The banded min value.void
setOperationType
(CalculatorOperation operationType) Optional override for Operation Type to determine if this tier is applied with a fixed amount or a rate.toString()
-
Constructor Details
-
FulfillmentPriceTier
public FulfillmentPriceTier()
-
-
Method Details
-
getMinValue
The banded min value. This must be less than or equal to the max value. This could be a price or a weight, depending onFulfillmentCalculatorConfig.getBandField()
. -
getAmount
The fulfillment price of this tier. -
getOperationType
Optional override for Operation Type to determine if this tier is applied with a fixed amount or a rate. -
setMinValue
The banded min value. This must be less than or equal to the max value. This could be a price or a weight, depending onFulfillmentCalculatorConfig.getBandField()
. -
setAmount
The fulfillment price of this tier. -
setOperationType
Optional override for Operation Type to determine if this tier is applied with a fixed amount or a rate. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-