[−][src]Struct google_content2::OrderLegacyPromotionBenefit
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
offer_ids: Option<Vec<String>>The OfferId(s) that were purchased in this order and map to this specific benefit of the promotion.
discount: Option<Price>The discount in the order price when the promotion is applied.
type_: Option<String>Describes whether the promotion applies to products (e.g. 20% off) or to shipping (e.g. Free Shipping).
Acceptable values are:
- "
product" - "
shipping"
tax_impact: Option<Price>The impact on tax when the promotion is applied.
sub_type: Option<String>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"
Trait Implementations
impl Clone for OrderLegacyPromotionBenefit[src]
fn clone(&self) -> OrderLegacyPromotionBenefit[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for OrderLegacyPromotionBenefit[src]
impl Default for OrderLegacyPromotionBenefit[src]
impl<'de> Deserialize<'de> for OrderLegacyPromotionBenefit[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for OrderLegacyPromotionBenefit[src]
impl Serialize for OrderLegacyPromotionBenefit[src]
Auto Trait Implementations
impl RefUnwindSafe for OrderLegacyPromotionBenefit
impl Send for OrderLegacyPromotionBenefit
impl Sync for OrderLegacyPromotionBenefit
impl Unpin for OrderLegacyPromotionBenefit
impl UnwindSafe for OrderLegacyPromotionBenefit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,