pub struct TestOrderLineItemProduct {Show 14 fields
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>>,
}Expand description
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§
Source§impl Clone for TestOrderLineItemProduct
impl Clone for TestOrderLineItemProduct
Source§fn clone(&self) -> TestOrderLineItemProduct
fn clone(&self) -> TestOrderLineItemProduct
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more