Struct google_content2::api::TestOrderLineItemProduct[][src]

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

There is no detailed description.

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

Fields

brand: Option<String>

Required. Brand of the item.

channel: Option<String>

Deprecated. Acceptable values are: - “online

condition: Option<String>

Required. Condition or state of the item. Acceptable values are: - “new

content_language: Option<String>

Required. The two-letter ISO 639-1 language code for the item. Acceptable values are: - “en” - “fr

fees: Option<Vec<OrderLineItemProductFee>>

Fees for the item. Optional.

gtin: Option<String>

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

image_link: Option<String>

Required. URL of an image of the item.

item_group_id: Option<String>

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

mpn: Option<String>

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

offer_id: Option<String>

Required. An identifier of the item.

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.

target_country: Option<String>

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

title: Option<String>

Required. The title of the product.

variant_attributes: Option<Vec<OrderLineItemProductVariantAttribute>>

Variant attributes for the item. Optional.

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> Instrument 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.