[][src]Struct google_content2_sandbox::TestOrder

pub struct TestOrder {
    pub customer: Option<TestOrderCustomer>,
    pub promotions: Option<Vec<OrderLegacyPromotion>>,
    pub kind: Option<String>,
    pub line_items: Option<Vec<TestOrderLineItem>>,
    pub notification_mode: Option<String>,
    pub predefined_delivery_address: Option<String>,
    pub shipping_cost: Option<Price>,
    pub shipping_option: Option<String>,
    pub enable_orderinvoices: Option<bool>,
    pub shipping_cost_tax: Option<Price>,
    pub payment_method: Option<TestOrderPaymentMethod>,
}

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. The details of the merchant provided promotions applied to the order. More details about the program are here.

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 total cost of shipping for all items.

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>

The tax for the total shipping cost.

payment_method: Option<TestOrderPaymentMethod>

The details of the payment method.

Trait Implementations

impl Part for TestOrder[src]

impl Clone for TestOrder[src]

impl Default for TestOrder[src]

impl Debug for TestOrder[src]

impl Serialize for TestOrder[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

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