Class FulfillmentPricingItem
java.lang.Object
com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingItem
- All Implemented Interfaces:
Serializable
DTO for fields that are used for getting fulfillment prices for FulfillmentItems.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDimensions per unit.A List of Flat Rates to consider when pricing Fulfillment Options.Used to allow targeting of fulfillment pricing based on a location where the application expects the item to be shipped from.The fulfillment type for this item if it has been assigned aPricedFulfillmentOption.The inventory type of this item.This is the reference number of the Fulfillment Item.intQuantity or number of units.The service level for this item if it has been assigned aPricedFulfillmentOption.getSku()String representing the SKU.javax.money.MonetaryAmountThe Cart price of one unit of this item.Weight per unit.voidsetDimensions(Dimensions dimensions) Dimensions per unit.voidsetFlatRates(Map<String, javax.money.MonetaryAmount> flatRates) A List of Flat Rates to consider when pricing Fulfillment Options.voidsetFulfillmentOriginInfos(List<FulfillmentOriginInfo> fulfillmentOriginInfos) Used to allow targeting of fulfillment pricing based on a location where the application expects the item to be shipped from.voidsetFulfillmentType(String fulfillmentType) The fulfillment type for this item if it has been assigned aPricedFulfillmentOption.voidsetInventoryType(String inventoryType) The inventory type of this item.voidsetItemReference(String itemReference) This is the reference number of the Fulfillment Item.voidsetQuantity(int quantity) Quantity or number of units.voidsetServiceLevel(String serviceLevel) The service level for this item if it has been assigned aPricedFulfillmentOption.voidString representing the SKU.voidsetUnitPrice(javax.money.MonetaryAmount unitPrice) The Cart price of one unit of this item.voidWeight per unit.
-
Constructor Details
-
FulfillmentPricingItem
public FulfillmentPricingItem()
-
-
Method Details
-
getItemReference
This is the reference number of the Fulfillment Item. -
getSku
String representing the SKU. -
getWeight
Weight per unit. -
getDimensions
Dimensions per unit. -
getQuantity
public int getQuantity()Quantity or number of units. -
getUnitPrice
public javax.money.MonetaryAmount getUnitPrice()The Cart price of one unit of this item. -
getFlatRates
A List of Flat Rates to consider when pricing Fulfillment Options. This is a Map keyed by the service level with aMonetaryAmount. Note that the Inventory Type and Fulfillment Type are implicit on theFulfillmentPricingGroup, so the service level in this map is for a service level that is associated with theFulfillment Pricing Group'sinventory type and fulfillment type. -
getFulfillmentType
The fulfillment type for this item if it has been assigned aPricedFulfillmentOption. -
getServiceLevel
The service level for this item if it has been assigned aPricedFulfillmentOption. -
getInventoryType
The inventory type of this item. -
getFulfillmentOriginInfos
Used to allow targeting of fulfillment pricing based on a location where the application expects the item to be shipped from. The request can include multiple fulfillmentSourceInfos to allow the pricing algorithm to attempt pricing for multiple scenarios. For example, an application might implement algorithms to price the order using the closest locations or fulfill from a single location, etc. -
setItemReference
This is the reference number of the Fulfillment Item. -
setSku
String representing the SKU. -
setWeight
Weight per unit. -
setDimensions
Dimensions per unit. -
setQuantity
public void setQuantity(int quantity) Quantity or number of units. -
setUnitPrice
public void setUnitPrice(javax.money.MonetaryAmount unitPrice) The Cart price of one unit of this item. -
setFlatRates
A List of Flat Rates to consider when pricing Fulfillment Options. This is a Map keyed by the service level with aMonetaryAmount. Note that the Inventory Type and Fulfillment Type are implicit on theFulfillmentPricingGroup, so the service level in this map is for a service level that is associated with theFulfillment Pricing Group'sinventory type and fulfillment type. -
setFulfillmentType
The fulfillment type for this item if it has been assigned aPricedFulfillmentOption. -
setServiceLevel
The service level for this item if it has been assigned aPricedFulfillmentOption. -
setInventoryType
The inventory type of this item. -
setFulfillmentOriginInfos
Used to allow targeting of fulfillment pricing based on a location where the application expects the item to be shipped from. The request can include multiple fulfillmentSourceInfos to allow the pricing algorithm to attempt pricing for multiple scenarios. For example, an application might implement algorithms to price the order using the closest locations or fulfill from a single location, etc.
-