Class PricedFulfillmentOption
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Map to hold arbitrary additional attributes.The list of item fields used to determine price band, e.g.The list of calculatorIds which were used to compute the price for this option.The maximum number of days expected for delivery.The minimum number of days estimated for delivery.This is the "reference number" of the FulfillmentGroup or FulfillmentItem that this fulfillment price applies to.Broad categorization of how this fulfillment option is fulfilled.javax.money.MonetaryAmount
getPrice()
The fulfillment price of this fulfillment option.Specific description for how this fulfillment option is fulfilled.A tax code for this fulfillment option.int
hashCode()
boolean
Indicate if this fulfillment price is taxable.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Map to hold arbitrary additional attributes.void
setBandFields
(Set<String> bandFields) The list of item fields used to determine price band, e.g.void
setCalculatorIds
(Set<String> calculatorIds) The list of calculatorIds which were used to compute the price for this option.void
setDescription
(String description) Human-readable description (e.g.void
setEstimatedMaxDaysToFulfill
(Integer estimatedMaxDaysToFulfill) The maximum number of days expected for delivery.void
setEstimatedMinDaysToFulfill
(Integer estimatedMinDaysToFulfill) The minimum number of days estimated for delivery.void
setFulfillmentReference
(String fulfillmentReference) This is the "reference number" of the FulfillmentGroup or FulfillmentItem that this fulfillment price applies to.void
setFulfillmentType
(String fulfillmentType) Broad categorization of how this fulfillment option is fulfilled.void
setPrice
(javax.money.MonetaryAmount price) The fulfillment price of this fulfillment option.void
setServiceLevel
(String serviceLevel) Specific description for how this fulfillment option is fulfilled.void
setTaxable
(boolean taxable) Indicate if this fulfillment price is taxable.void
setTaxCode
(String taxCode) A tax code for this fulfillment option.
-
Constructor Details
-
PricedFulfillmentOption
public PricedFulfillmentOption()
-
-
Method Details
-
getDescription
-
getServiceLevel
Specific description for how this fulfillment option is fulfilled. This will typically include values like "SAME_DAY", "FIRST_CLASS", "OVERNIGHT", "STANDARD", etc. for FulfillmentType#SHIP, and values such as "IN_STORE" or "CURBSIDE" for FulfillmentType#PICKUP. The exact configurations will depend on how clients (tenants or applications) define their available service levels and calculators.
The service level is a key driver for which FulfillmentPricingCalculator is used to determine the fulfillment price. (see FulfillmentServices microservice).
-
getFulfillmentType
Broad categorization of how this fulfillment option is fulfilled. For instance, SHIP, PICKUP, or VIRTUAL. Seecom.broadleafcommerce.order.common.domain.enums.FulfillmentType
for system defaults. -
getCalculatorIds
The list of calculatorIds which were used to compute the price for this option. -
getBandFields
The list of item fields used to determine price band, e.g. item price or item weight. -
getFulfillmentReference
This is the "reference number" of the FulfillmentGroup or FulfillmentItem that this fulfillment price applies to. -
getEstimatedMinDaysToFulfill
The minimum number of days estimated for delivery. Null value is possible and means that the estimated days to deliver is unknown. -
getEstimatedMaxDaysToFulfill
The maximum number of days expected for delivery. Null value is possible meaning no max days to fulfill has been configured. -
getPrice
@NonNull public javax.money.MonetaryAmount getPrice()The fulfillment price of this fulfillment option. This may be ZERO. -
isTaxable
public boolean isTaxable()Indicate if this fulfillment price is taxable. -
getTaxCode
A tax code for this fulfillment option. -
getAdditionalAttributes
Map to hold arbitrary additional attributes. -
setServiceLevel
Specific description for how this fulfillment option is fulfilled. This will typically include values like "SAME_DAY", "FIRST_CLASS", "OVERNIGHT", "STANDARD", etc. for FulfillmentType#SHIP, and values such as "IN_STORE" or "CURBSIDE" for FulfillmentType#PICKUP. The exact configurations will depend on how clients (tenants or applications) define their available service levels and calculators.
The service level is a key driver for which FulfillmentPricingCalculator is used to determine the fulfillment price. (see FulfillmentServices microservice).
-
setFulfillmentType
Broad categorization of how this fulfillment option is fulfilled. For instance, SHIP, PICKUP, or VIRTUAL. Seecom.broadleafcommerce.order.common.domain.enums.FulfillmentType
for system defaults. -
setDescription
Human-readable description (e.g. First Class, USPS First Class, or Pickup at Store #53). -
setCalculatorIds
The list of calculatorIds which were used to compute the price for this option. -
setBandFields
The list of item fields used to determine price band, e.g. item price or item weight. -
setFulfillmentReference
This is the "reference number" of the FulfillmentGroup or FulfillmentItem that this fulfillment price applies to. -
setEstimatedMinDaysToFulfill
The minimum number of days estimated for delivery. Null value is possible and means that the estimated days to deliver is unknown. -
setEstimatedMaxDaysToFulfill
The maximum number of days expected for delivery. Null value is possible meaning no max days to fulfill has been configured. -
setPrice
public void setPrice(@NonNull javax.money.MonetaryAmount price) The fulfillment price of this fulfillment option. This may be ZERO. -
setTaxable
public void setTaxable(boolean taxable) Indicate if this fulfillment price is taxable. -
setTaxCode
A tax code for this fulfillment option. -
setAdditionalAttributes
Map to hold arbitrary additional attributes. -
equals
-
canEqual
-
hashCode
public int hashCode()
-