Show / Hide Table of Contents

Class OrderPromotion

Inheritance
System.Object
OrderPromotion
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class OrderPromotion : IDirectResponseSchema

Properties

ApplicableItems

Items which this promotion may be applied to. If empty, there are no restrictions on applicable items and quantity.

Declaration
[JsonProperty("applicableItems")]
public virtual IList<OrderPromotionItem> ApplicableItems { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderPromotionItem>

AppliedItems

Items which this promotion have been applied to. Do not provide for orders.createtestorder.

Declaration
[JsonProperty("appliedItems")]
public virtual IList<OrderPromotionItem> AppliedItems { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<OrderPromotionItem>

EndTime

Promotion end time in ISO 8601 format. Date, time, and offset required, e.g., "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z".

Declaration
[JsonProperty("endTime")]
public virtual string EndTime { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Funder

The party funding the promotion. Only merchant is supported for orders.createtestorder.

Declaration
[JsonProperty("funder")]
public virtual string Funder { get; set; }
Property Value
Type Description
System.String

MerchantPromotionId

This field is used to identify promotions within merchants' own systems.

Declaration
[JsonProperty("merchantPromotionId")]
public virtual string MerchantPromotionId { get; set; }
Property Value
Type Description
System.String

PriceValue

Estimated discount applied to price. Amount is pre-tax or post-tax depending on location of order.

Declaration
[JsonProperty("priceValue")]
public virtual Price PriceValue { get; set; }
Property Value
Type Description
Price

ShortTitle

A short title of the promotion to be shown on the checkout page. Do not provide for orders.createtestorder.

Declaration
[JsonProperty("shortTitle")]
public virtual string ShortTitle { get; set; }
Property Value
Type Description
System.String

StartTime

Promotion start time in ISO 8601 format. Date, time, and offset required, e.g., "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z".

Declaration
[JsonProperty("startTime")]
public virtual string StartTime { get; set; }
Property Value
Type Description
System.String

Subtype

The category of the promotion. Only moneyOff is supported for orders.createtestorder.

Declaration
[JsonProperty("subtype")]
public virtual string Subtype { get; set; }
Property Value
Type Description
System.String

TaxValue

Estimated discount applied to tax (if allowed by law). Do not provide for orders.createtestorder.

Declaration
[JsonProperty("taxValue")]
public virtual Price TaxValue { get; set; }
Property Value
Type Description
Price

Title

The title of the promotion.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
System.String

Type

The scope of the promotion. Only product is supported for orders.createtestorder.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top