public interface OrderItemPriceDetailAdjustment extends Adjustment, MultiTenantCloneable<OrderItemPriceDetailAdjustment>
Modifier and Type | Method and Description |
---|---|
String |
getOfferName()
Stores the offer name at the time the adjustment was made.
|
OrderItemPriceDetail |
getOrderItemPriceDetail() |
Money |
getRetailPriceValue()
Value of this adjustment relative to the retail price.
|
Money |
getSalesPriceValue()
Value of this adjustment relative to the sale price.
|
void |
init(OrderItemPriceDetail orderItemPriceDetail,
Offer offer,
String reason) |
boolean |
isAppliedToSalePrice()
Even for items that are on sale, it is possible that an adjustment was made
to the retail price that gave the customer a better offer.
|
void |
setAppliedToSalePrice(boolean appliedToSalePrice) |
void |
setOfferName(String offerName)
Returns the name of the offer at the time the adjustment was made.
|
void |
setOrderItemPriceDetail(OrderItemPriceDetail orderItemPriceDetail) |
void |
setRetailPriceValue(Money retailPriceValue) |
void |
setSalesPriceValue(Money salesPriceValue) |
getId, getOffer, getReason, getValue, setId, setReason, setValue
createOrRetrieveCopyInstance
String getOfferName()
void setOfferName(String offerName)
offerName
- OrderItemPriceDetail getOrderItemPriceDetail()
void init(OrderItemPriceDetail orderItemPriceDetail, Offer offer, String reason)
void setOrderItemPriceDetail(OrderItemPriceDetail orderItemPriceDetail)
boolean isAppliedToSalePrice()
void setAppliedToSalePrice(boolean appliedToSalePrice)
Money getRetailPriceValue()
void setRetailPriceValue(Money retailPriceValue)
Money getSalesPriceValue()
void setSalesPriceValue(Money salesPriceValue)
Copyright © 2020. All rights reserved.