public interface PriceAdjustment extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<PriceAdjustment>
ProductOptionValue can have an adjustment price. For example, a shirt might
come in several sizes and the price could be adjusted by $1 for the XXXL size.| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Unique id for this PriceAdjustment
|
BigDecimal |
getPriceAdjustment()
Returns the price adjustment amount
|
PriceList |
getPriceList()
Returns the associated PriceList
|
org.broadleafcommerce.core.catalog.domain.ProductOptionValue |
getProductOptionValue()
Returns the associated
ProductOptionValue. |
void |
setId(Long id)
Sets the id for this PriceAdjustment
|
void |
setPriceAdjustment(BigDecimal adjustment)
Sets the price adjustment amount
|
void |
setPriceList(PriceList priceList)
Sets the associated priceList.
|
void |
setProductOptionValue(org.broadleafcommerce.core.catalog.domain.ProductOptionValue productOptionValue)
Sets the associated
ProductOptionValue for this Adjustment. |
Long getId()
void setId(Long id)
id - PriceList getPriceList()
void setPriceList(PriceList priceList)
priceList - org.broadleafcommerce.core.catalog.domain.ProductOptionValue getProductOptionValue()
ProductOptionValue.void setProductOptionValue(org.broadleafcommerce.core.catalog.domain.ProductOptionValue productOptionValue)
ProductOptionValue for this Adjustment.productOptionValue - BigDecimal getPriceAdjustment()
void setPriceAdjustment(BigDecimal adjustment)
adjustment - Copyright © 2020. All rights reserved.