Struct google_content2_sandbox::TestOrder[][src]

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

The details of the customer who placed the order.

Deprecated. The details of the merchant provided promotions applied to the order. More details about the program are here.

Identifies what kind of resource this is. Value: the fixed string "content#testOrder".

Line items that are ordered. At least one line item must be provided.

Determines if test order must be pulled by merchant or pushed to merchant via push integration.

Identifier of one of the predefined delivery addresses for the delivery.

The total cost of shipping for all items.

The requested shipping option.

Whether the orderinvoices service should support this order.

The tax for the total shipping cost.

The details of the payment method.

Trait Implementations

impl Default for TestOrder
[src]

Returns the "default value" for a type. Read more

impl Clone for TestOrder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TestOrder
[src]

Formats the value using the given formatter. Read more

impl Part for TestOrder
[src]

Auto Trait Implementations

impl Send for TestOrder

impl Sync for TestOrder