Class FixedFulfillmentPricingOption
- java.lang.Object
-
- com.broadleafcommerce.shipping.FulfillmentOption
-
- com.broadleafcommerce.shipping.fixed.FixedFulfillmentPricingOption
-
- All Implemented Interfaces:
Serializable
@Deprecated public class FixedFulfillmentPricingOption extends FulfillmentOption
Deprecated.Since 1.7.0. Moved to shipping service.A fixed fulfillment option has only one configuration per option as defined by the fields in this class. This configuration will apply some combination of pricing using fixed prices for groups and items and rate (percentage) calculations.- Author:
- Chad Harchar (charchar)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FixedFulfillmentPricingOption()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
Deprecated.boolean
equals(Object o)
Deprecated.Integer
getDaysToShip()
Deprecated.The number of days this option is expected to ship.Set<FulfillmentPriceAmount>
getFixedPricePerGroup()
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest
.Set<FulfillmentPriceAmount>
getFixedPricePerItem()
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItem
in a group.BigDecimal
getPercentagePerItem()
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.int
hashCode()
Deprecated.void
setDaysToShip(Integer daysToShip)
Deprecated.The number of days this option is expected to ship.void
setFixedPricePerGroup(Set<FulfillmentPriceAmount> fixedPricePerGroup)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest
.void
setFixedPricePerItem(Set<FulfillmentPriceAmount> fixedPricePerItem)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItem
in a group.void
setPercentagePerItem(BigDecimal percentagePerItem)
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.String
toString()
Deprecated.-
Methods inherited from class com.broadleafcommerce.shipping.FulfillmentOption
getDescription, getName, getTaxCode, isTaxable, isUseFlatRates, setDescription, setName, setTaxable, setTaxCode, setUseFlatRates
-
-
-
-
Method Detail
-
getPercentagePerItem
public BigDecimal getPercentagePerItem()
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.- Returns:
- Percentage to multiply against a
FulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.
-
getFixedPricePerItem
public Set<FulfillmentPriceAmount> getFixedPricePerItem()
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItem
in a group.- Returns:
- Fixed prices (by currency) to add per
FulfillmentPricingItem
in a group.
-
getFixedPricePerGroup
public Set<FulfillmentPriceAmount> getFixedPricePerGroup()
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest
.- Returns:
- Fixed prices (by currency) to add per
FulfillmentPricingRequest
.
-
getDaysToShip
public Integer getDaysToShip()
Deprecated.The number of days this option is expected to ship.- Returns:
- The number of days this option is expected to ship.
-
setPercentagePerItem
public void setPercentagePerItem(BigDecimal percentagePerItem)
Deprecated.Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.- Parameters:
percentagePerItem
- Percentage to multiply against aFulfillmentPricingItem.getMerchandiseTotalAmount()
() FulfillmentItem's total}.
-
setFixedPricePerItem
public void setFixedPricePerItem(Set<FulfillmentPriceAmount> fixedPricePerItem)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingItem
in a group.- Parameters:
fixedPricePerItem
- Fixed prices (by currency) to add perFulfillmentPricingItem
in a group.
-
setFixedPricePerGroup
public void setFixedPricePerGroup(Set<FulfillmentPriceAmount> fixedPricePerGroup)
Deprecated.Fixed prices (by currency) to add perFulfillmentPricingRequest
.- Parameters:
fixedPricePerGroup
- Fixed prices (by currency) to add perFulfillmentPricingRequest
.
-
setDaysToShip
public void setDaysToShip(Integer daysToShip)
Deprecated.The number of days this option is expected to ship.- Parameters:
daysToShip
- The number of days this option is expected to ship.
-
equals
public boolean equals(Object o)
Deprecated.- Overrides:
equals
in classFulfillmentOption
-
canEqual
protected boolean canEqual(Object other)
Deprecated.- Overrides:
canEqual
in classFulfillmentOption
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classFulfillmentOption
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classFulfillmentOption
-
-