public interface OrderItemPriceDetail extends Serializable, MultiTenantCloneable<OrderItemPriceDetail>
| Modifier and Type | Method and Description |
|---|---|
Money |
getAdjustmentValue()
Returns the value of all adjustments for a single quantity of the item.
|
Money |
getFutureCreditAdjustmentValue()
Returns the value of future credit adjustments for a single quantity of the item.
|
List<OrderItemPriceDetailAdjustment> |
getFutureCreditOrderItemPriceDetailAdjustments()
Returns a List of the future credit adjustments that effected this priceDetail.
|
Money |
getFutureCreditTotalAdjustmentValue()
Returns getFutureCreditAdjustmentValue() * the quantity.
|
Long |
getId()
The unique identifier of this OrderItem
|
OrderItem |
getOrderItem()
Reference back to the containing orderItem.
|
List<OrderItemPriceDetailAdjustment> |
getOrderItemPriceDetailAdjustments()
Returns a List of the adjustments that effected this priceDetail.
|
int |
getQuantity()
The quantity of this
OrderItemPriceDetail. |
Money |
getTotalAdjustedPrice()
Returns the total adjustedPrice.
|
Money |
getTotalAdjustmentValue()
Returns getAdjustmentValue() * the quantity.
|
boolean |
getUseSalePrice()
Indicates that the adjustments were based off of the item's sale price.
|
void |
setId(Long id)
Sets the unique id of the OrderItem.
|
void |
setOrderItem(OrderItem order)
Sets the orderItem for this itemPriceDetail.
|
void |
setOrderItemAdjustments(List<OrderItemPriceDetailAdjustment> orderItemPriceDetailAdjustments)
Sets the list of OrderItemPriceDetailAdjustment
|
void |
setQuantity(int quantity)
Returns the quantity
|
void |
setUseSalePrice(boolean useSalePrice)
Set that the adjustments should be taken off of the item's sale price.
|
createOrRetrieveCopyInstanceLong getId()
void setId(Long id)
id - OrderItem getOrderItem()
void setOrderItem(OrderItem order)
order - List<OrderItemPriceDetailAdjustment> getOrderItemPriceDetailAdjustments()
List<OrderItemPriceDetailAdjustment> getFutureCreditOrderItemPriceDetailAdjustments()
Offer.getAdjustmentType() for more info on future creditvoid setOrderItemAdjustments(List<OrderItemPriceDetailAdjustment> orderItemPriceDetailAdjustments)
orderItemPriceDetailAdjustments - int getQuantity()
OrderItemPriceDetail.void setQuantity(int quantity)
quantity - Money getAdjustmentValue()
getTotalAdjustmentValue() to get the total for all quantities of this item.Money getFutureCreditAdjustmentValue()
getFutureCreditTotalAdjustmentValue() to get the total for all quantities of this item.
See Offer.getAdjustmentType() for more info on future creditMoney getTotalAdjustmentValue()
Money getFutureCreditTotalAdjustmentValue()
Offer.getAdjustmentType() for more info on future creditMoney getTotalAdjustedPrice()
boolean getUseSalePrice()
void setUseSalePrice(boolean useSalePrice)
useSalePrice - Copyright © 2023. All rights reserved.