Class OrderLegacyPromotionBenefit
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class OrderLegacyPromotionBenefit : IDirectResponseSchema
Properties
Discount
The discount in the order price when the promotion is applied.
Declaration
[JsonProperty("discount")]
public virtual Price Discount { get; set; }
Property Value
Type | Description |
---|---|
Price |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OfferIds
The OfferId(s) that were purchased in this order and map to this specific benefit of the promotion.
Declaration
[JsonProperty("offerIds")]
public virtual IList<string> OfferIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
SubType
Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support
new promotion sub-types. Acceptable values are: - "buyMGetMoneyOff
" - "buyMGetNMoneyOff
" -
"buyMGetNPercentOff
" - "buyMGetPercentOff
" - "freeGift
" - "freeGiftWithItemId
" -
"freeGiftWithValue
" - "freeOvernightShipping
" - "freeShipping
" - "freeTwoDayShipping
" - "moneyOff
"
- "
percentageOff
" - "rewardPoints
" - "salePrice
"
Declaration
[JsonProperty("subType")]
public virtual string SubType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TaxImpact
The impact on tax when the promotion is applied.
Declaration
[JsonProperty("taxImpact")]
public virtual Price TaxImpact { get; set; }
Property Value
Type | Description |
---|---|
Price |
Type
Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping).
Acceptable values are: - "product
" - "shipping
"
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |