[−][src]Struct google_content2::TestOrder
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
customer: Option<TestOrderCustomer>The details of the customer who placed the order.
promotions: Option<Vec<OrderLegacyPromotion>>Deprecated. Ignored if provided.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string "content#testOrder".
line_items: Option<Vec<TestOrderLineItem>>Line items that are ordered. At least one line item must be provided.
notification_mode: Option<String>Determines if test order must be pulled by merchant or pushed to merchant via push integration.
predefined_delivery_address: Option<String>Identifier of one of the predefined delivery addresses for the delivery.
shipping_cost: Option<Price>The price of shipping for all items. Shipping tax is automatically calculated for MFL orders. For non-MFL orders, tax settings from Merchant Center are applied. Note that shipping is not taxed in certain states.
shipping_option: Option<String>The requested shipping option.
enable_orderinvoices: Option<bool>Whether the orderinvoices service should support this order.
shipping_cost_tax: Option<Price>Deprecated. Ignored if provided.
payment_method: Option<TestOrderPaymentMethod>The details of the payment method.
Trait Implementations
impl Part for TestOrder[src]
impl Default for TestOrder[src]
impl Clone for TestOrder[src]
fn clone(&self) -> TestOrder[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for TestOrder[src]
impl Serialize for TestOrder[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for TestOrder[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for TestOrder
impl Unpin for TestOrder
impl Sync for TestOrder
impl UnwindSafe for TestOrder
impl RefUnwindSafe for TestOrder
Blanket Implementations
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,