public class DynamicSkuPrices extends Object implements Serializable
DynamicSkuPricingServiceDynamicSkuPricingService},
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
didOverride |
protected Money |
priceAdjustment |
protected Money |
retailPrice |
protected Money |
salePrice |
| Constructor and Description |
|---|
DynamicSkuPrices() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDidOverride() |
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 |
setDidOverride(Boolean didOverride) |
void |
setPriceAdjustment(Money priceAdjustment) |
void |
setRetailPrice(Money retailPrice) |
void |
setSalePrice(Money salePrice) |
protected Money retailPrice
protected Money salePrice
protected Money priceAdjustment
protected Boolean didOverride
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.public Boolean getDidOverride()
public void setDidOverride(Boolean didOverride)
Copyright © 2022. All rights reserved.