Class PricedFulfillmentOption
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMap 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.MonetaryAmountgetPrice()The fulfillment price of this fulfillment option.Specific description for how this fulfillment option is fulfilled.A tax code for this fulfillment option.inthashCode()booleanIndicate if this fulfillment price is taxable.voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Map to hold arbitrary additional attributes.voidsetBandFields(Set<String> bandFields) The list of item fields used to determine price band, e.g.voidsetCalculatorIds(Set<String> calculatorIds) The list of calculatorIds which were used to compute the price for this option.voidsetDescription(String description) Human-readable description (e.g.voidsetEstimatedMaxDaysToFulfill(Integer estimatedMaxDaysToFulfill) The maximum number of days expected for delivery.voidsetEstimatedMinDaysToFulfill(Integer estimatedMinDaysToFulfill) The minimum number of days estimated for delivery.voidsetFulfillmentReference(String fulfillmentReference) This is the "reference number" of the FulfillmentGroup or FulfillmentItem that this fulfillment price applies to.voidsetFulfillmentType(String fulfillmentType) Broad categorization of how this fulfillment option is fulfilled.voidsetPrice(javax.money.MonetaryAmount price) The fulfillment price of this fulfillment option.voidsetServiceLevel(String serviceLevel) Specific description for how this fulfillment option is fulfilled.voidsetTaxable(boolean taxable) Indicate if this fulfillment price is taxable.voidsetTaxCode(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.FulfillmentTypefor 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.FulfillmentTypefor 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()
-