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 moreSource§impl Debug for TestOrderLineItemProduct
impl Debug for TestOrderLineItemProduct
Source§impl Default for TestOrderLineItemProduct
impl Default for TestOrderLineItemProduct
Source§fn default() -> TestOrderLineItemProduct
fn default() -> TestOrderLineItemProduct
Source§impl<'de> Deserialize<'de> for TestOrderLineItemProduct
impl<'de> Deserialize<'de> for TestOrderLineItemProduct
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for TestOrderLineItemProduct
impl Serialize for TestOrderLineItemProduct
impl Part for TestOrderLineItemProduct
Auto Trait Implementations§
impl Freeze for TestOrderLineItemProduct
impl RefUnwindSafe for TestOrderLineItemProduct
impl Send for TestOrderLineItemProduct
impl Sync for TestOrderLineItemProduct
impl Unpin for TestOrderLineItemProduct
impl UnwindSafe for TestOrderLineItemProduct
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more