| Package | Description |
|---|---|
| com.aliseeks.models |
| Modifier and Type | Method and Description |
|---|---|
PromotionOption |
PromotionOption.discount(Double discount) |
PromotionOption |
PromotionOption.maxAmount(Amount maxAmount) |
PromotionOption |
PromotionOption.minAmount(Amount minAmount) |
PromotionOption |
PromotionOption.stock(Integer stock) |
PromotionOption |
PromotionOption.timeLeft(TimeDuration timeLeft) |
| Modifier and Type | Method and Description |
|---|---|
List<PromotionOption> |
ProductDetail.getPromotions()
The promotions present on an item
|
| Modifier and Type | Method and Description |
|---|---|
ProductDetail |
ProductDetail.addPromotionsItem(PromotionOption promotionsItem) |
| Modifier and Type | Method and Description |
|---|---|
ProductDetail |
ProductDetail.promotions(List<PromotionOption> promotions) |
void |
ProductDetail.setPromotions(List<PromotionOption> promotions) |
Copyright © 2019. All rights reserved.