public class DynamicSkuPrices extends Object implements Serializable
DynamicSkuPricingServiceDynamicSkuPricingService},
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Money |
priceAdjustment |
protected Money |
retailPrice |
protected Money |
salePrice |
| Constructor and Description |
|---|
DynamicSkuPrices() |
| Modifier and Type | Method and Description |
|---|---|
Money |
getPrice()
Returns the lower of
getSalePrice() and getRetailPrice(). |
Money |
getPriceAdjustment() |
Money |
getPriceForQuantity(long quantity)
The out of box implementation returns
getPrice(). |
Money |
getRetailPrice() |
Money |
getSalePrice() |
void |
setPriceAdjustment(Money priceAdjustment) |
void |
setRetailPrice(Money retailPrice) |
void |
setSalePrice(Money salePrice) |
protected Money retailPrice
protected Money salePrice
protected Money priceAdjustment
public Money getRetailPrice()
public void setRetailPrice(Money retailPrice)
public Money getSalePrice()
public void setSalePrice(Money salePrice)
public Money getPriceAdjustment()
public void setPriceAdjustment(Money priceAdjustment)
public Money getPriceForQuantity(long quantity)
getPrice(). Intended as a hook for
advanced pricing considerations like those in BLC Enterprise pricing.quantity - currentPrice - public Money getPrice()
getSalePrice() and getRetailPrice(). Intended as a hook for
advanced pricing considerations like those in BLC Enterprise pricing.Copyright © 2017. All rights reserved.