Struct google_content2::OrderLegacyPromotion[][src]

pub struct OrderLegacyPromotion {
    pub long_title: Option<String>,
    pub generic_redemption_code: Option<String>,
    pub benefits: Option<Vec<OrderLegacyPromotionBenefit>>,
    pub redemption_channel: Option<String>,
    pub product_applicability: Option<String>,
    pub effective_dates: Option<String>,
    pub id: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

The full title of the promotion.

Optional. The text code that corresponds to the promotion when applied on the retailer?s website.

no description provided

Indicates that the promotion is valid online.

Whether the promotion is applicable to all products or only specific products.

The date and time frame when the promotion is active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review. Start date and end date are separated by a forward slash (/). The start date is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an expression of the time zone for the sale. The end date is in the same format.

The unique ID of the promotion.

Trait Implementations

impl Default for OrderLegacyPromotion
[src]

Returns the "default value" for a type. Read more

impl Clone for OrderLegacyPromotion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OrderLegacyPromotion
[src]

Formats the value using the given formatter. Read more

impl Part for OrderLegacyPromotion
[src]

Auto Trait Implementations