Struct google_content2_sandbox::OrderLegacyPromotionBenefit[][src]

pub struct OrderLegacyPromotionBenefit {
    pub offer_ids: Option<Vec<String>>,
    pub discount: Option<Price>,
    pub type_: Option<String>,
    pub tax_impact: Option<Price>,
    pub sub_type: 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 OfferId(s) that were purchased in this order and map to this specific benefit of the promotion.

The discount in the order price when the promotion is applied.

Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping).

The impact on tax when the promotion is applied.

Further describes the benefit of the promotion. Note that we will expand on this enumeration as we support new promotion sub-types.

Trait Implementations

impl Default for OrderLegacyPromotionBenefit
[src]

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

impl Clone for OrderLegacyPromotionBenefit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OrderLegacyPromotionBenefit
[src]

Formats the value using the given formatter. Read more

impl Part for OrderLegacyPromotionBenefit
[src]

Auto Trait Implementations