Package | Description |
---|---|
com.google.api.services.content.model |
Modifier and Type | Method and Description |
---|---|
OrderPromotion |
OrderPromotion.clone() |
OrderPromotion |
OrderPromotion.set(String fieldName,
Object value) |
OrderPromotion |
OrderPromotion.setApplicableItems(List<OrderPromotionItem> applicableItems)
Items which this promotion may be applied to.
|
OrderPromotion |
OrderPromotion.setAppliedItems(List<OrderPromotionItem> appliedItems)
Items which this promotion have been applied to.
|
OrderPromotion |
OrderPromotion.setFunder(String funder)
The party funding the promotion.
|
OrderPromotion |
OrderPromotion.setMerchantPromotionId(String merchantPromotionId)
This field is used to identify promotions within merchants' own systems.
|
OrderPromotion |
OrderPromotion.setPriceValue(Price priceValue)
Estimated discount applied to price.
|
OrderPromotion |
OrderPromotion.setShortTitle(String shortTitle)
A short title of the promotion to be shown on the checkout page.
|
OrderPromotion |
OrderPromotion.setSubtype(String subtype)
The category of the promotion.
|
OrderPromotion |
OrderPromotion.setTaxValue(Price taxValue)
Estimated discount applied to tax (if allowed by law).
|
OrderPromotion |
OrderPromotion.setTitle(String title)
The title of the promotion.
|
OrderPromotion |
OrderPromotion.setType(String type)
The scope of the promotion.
|
Modifier and Type | Method and Description |
---|---|
List<OrderPromotion> |
Order.getPromotions()
Promotions associated with the order.
|
List<OrderPromotion> |
TestOrder.getPromotions()
Promotions associated with the order.
|
Modifier and Type | Method and Description |
---|---|
Order |
Order.setPromotions(List<OrderPromotion> promotions)
Promotions associated with the order.
|
TestOrder |
TestOrder.setPromotions(List<OrderPromotion> promotions)
Promotions associated with the order.
|
Copyright © 2011–2019 Google. All rights reserved.