Struct google_content2::TestOrder [] [src]

pub struct TestOrder {
    pub customer: Option<TestOrderCustomer>,
    pub promotions: Option<Vec<OrderPromotion>>,
    pub kind: Option<String>,
    pub line_items: Option<Vec<TestOrderLineItem>>,
    pub predefined_delivery_address: Option<String>,
    pub shipping_cost: Option<Price>,
    pub shipping_option: Option<String>,
    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.

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.

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

The total cost of shipping for all items.

The requested shipping option.

The tax for the total shipping cost.

The details of the payment method.

Trait Implementations

impl Debug for TestOrder
[src]

Formats the value using the given formatter.

impl Clone for TestOrder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for TestOrder
[src]

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

impl Part for TestOrder
[src]