[][src]Struct google_content2::TestOrderLineItemProduct

pub struct TestOrderLineItemProduct {
    pub target_country: Option<String>,
    pub content_language: Option<String>,
    pub title: Option<String>,
    pub mpn: Option<String>,
    pub variant_attributes: Option<Vec<OrderLineItemProductVariantAttribute>>,
    pub brand: Option<String>,
    pub image_link: Option<String>,
    pub offer_id: Option<String>,
    pub item_group_id: Option<String>,
    pub gtin: Option<String>,
    pub condition: Option<String>,
    pub fees: Option<Vec<OrderLineItemProductFee>>,
    pub price: Option<Price>,
    pub channel: Option<String>,
}

There is no detailed description.

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

Fields

target_country: Option<String>

Required. The CLDR territory code of the target country of the product.

content_language: Option<String>

Required. The two-letter ISO 639-1 language code for the item.

Acceptable values are:

  • "en"
  • "fr"
title: Option<String>

Required. The title of the product.

mpn: Option<String>

Manufacturer Part Number (MPN) of the item. Optional.

variant_attributes: Option<Vec<OrderLineItemProductVariantAttribute>>

Variant attributes for the item. Optional.

brand: Option<String>

Required. Brand of the item.

image_link: Option<String>

Required. URL of an image of the item.

offer_id: Option<String>

Required. An identifier of the item.

item_group_id: Option<String>

Shared identifier for all variants of the same product. Optional.

gtin: Option<String>

Global Trade Item Number (GTIN) of the item. Optional.

condition: Option<String>

Required. Condition or state of the item.

Acceptable values are:

  • "new"
fees: Option<Vec<OrderLineItemProductFee>>

Fees for the item. Optional.

price: Option<Price>

Required. The price for the product. Tax is automatically calculated for orders where marketplace facilitator tax laws are applicable. Otherwise, tax settings from Merchant Center are applied.

channel: Option<String>

Deprecated.

Acceptable values are:

  • "online"

Trait Implementations

impl Clone for TestOrderLineItemProduct[src]

impl Debug for TestOrderLineItemProduct[src]

impl Default for TestOrderLineItemProduct[src]

impl<'de> Deserialize<'de> for TestOrderLineItemProduct[src]

impl Part for TestOrderLineItemProduct[src]

impl Serialize for TestOrderLineItemProduct[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any