Class VirtualFulfillmentPricingOption
- java.lang.Object
-
- com.broadleafcommerce.shipping.FulfillmentOption
-
- com.broadleafcommerce.shipping.virtual.VirtualFulfillmentPricingOption
-
- All Implemented Interfaces:
Serializable
@Deprecated public class VirtualFulfillmentPricingOption extends FulfillmentOption
Deprecated.Since 1.7.0. Moved to shipping service.A virtual 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:
- Marie Standeven (marieStandeven)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VirtualFulfillmentPricingOption()
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.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 aFulfillmentItem's total
.int
hashCode()
Deprecated.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 aFulfillmentItem'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 aFulfillmentItem's total
.- Returns:
- Percentage to multiply against a
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
.
-
setPercentagePerItem
public void setPercentagePerItem(BigDecimal percentagePerItem)
Deprecated.Percentage to multiply against aFulfillmentItem's total
.- Parameters:
percentagePerItem
- Percentage to multiply against aFulfillmentItem'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
.
-
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
-
-