| Package | Description |
|---|---|
| ai.thirdwatch.model |
| Modifier and Type | Method and Description |
|---|---|
Promotion |
Promotion.amount(String amount) |
Promotion |
Promotion.currencyCode(String currencyCode) |
Promotion |
Promotion.description(String description) |
Promotion |
Promotion.failureReason(String failureReason) |
Promotion |
Promotion.minPurchaseAmount(String minPurchaseAmount) |
Promotion |
Promotion.percentageOff(String percentageOff) |
Promotion |
Promotion.promotionId(String promotionId) |
Promotion |
Promotion.referrerUserId(String referrerUserId) |
Promotion |
Promotion.status(String status) |
Promotion |
Promotion.type(String type) |
| Modifier and Type | Method and Description |
|---|---|
List<Promotion> |
AddPromotion.getPromotions()
Contains all promotions that have been newly applied to the referenced user.
|
List<Promotion> |
UpdateAccount.getPromotions()
The list of promotions that apply to this account.
|
List<Promotion> |
UpdateOrder.getPromotions()
The list of promotions that apply to this order.
|
List<Promotion> |
CreateOrder.getPromotions()
The list of promotions that apply to this order.
|
List<Promotion> |
CreateAccount.getPromotions()
The list of promotions that apply to this account.
|
| Modifier and Type | Method and Description |
|---|---|
AddPromotion |
AddPromotion.addPromotionsItem(Promotion promotionsItem) |
UpdateAccount |
UpdateAccount.addPromotionsItem(Promotion promotionsItem) |
UpdateOrder |
UpdateOrder.addPromotionsItem(Promotion promotionsItem) |
CreateOrder |
CreateOrder.addPromotionsItem(Promotion promotionsItem) |
CreateAccount |
CreateAccount.addPromotionsItem(Promotion promotionsItem) |
| Modifier and Type | Method and Description |
|---|---|
AddPromotion |
AddPromotion.promotions(List<Promotion> promotions) |
UpdateAccount |
UpdateAccount.promotions(List<Promotion> promotions) |
UpdateOrder |
UpdateOrder.promotions(List<Promotion> promotions) |
CreateOrder |
CreateOrder.promotions(List<Promotion> promotions) |
CreateAccount |
CreateAccount.promotions(List<Promotion> promotions) |
void |
AddPromotion.setPromotions(List<Promotion> promotions) |
void |
UpdateAccount.setPromotions(List<Promotion> promotions) |
void |
UpdateOrder.setPromotions(List<Promotion> promotions) |
void |
CreateOrder.setPromotions(List<Promotion> promotions) |
void |
CreateAccount.setPromotions(List<Promotion> promotions) |
Copyright © 2017. All rights reserved.