Struct google_content2_sandbox::Order[][src]

pub struct Order {
    pub shipments: Option<Vec<OrderShipment>>,
    pub customer: Option<OrderCustomer>,
    pub shipping_cost: Option<Price>,
    pub channel_type: Option<String>,
    pub net_amount: Option<Price>,
    pub id: Option<String>,
    pub promotions: Option<Vec<OrderLegacyPromotion>>,
    pub kind: Option<String>,
    pub line_items: Option<Vec<OrderLineItem>>,
    pub refunds: Option<Vec<OrderRefund>>,
    pub acknowledged: Option<bool>,
    pub payment_status: Option<String>,
    pub merchant_id: Option<String>,
    pub merchant_order_id: Option<String>,
    pub shipping_option: Option<String>,
    pub status: Option<String>,
    pub delivery_details: Option<OrderDeliveryDetails>,
    pub placed_date: Option<String>,
    pub shipping_cost_tax: Option<Price>,
    pub payment_method: Option<OrderPaymentMethod>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Shipments of the order.

The details of the customer who placed the order.

The total cost of shipping for all items.

The channel type of the order: "purchaseOnGoogle" or "googleExpress".

The net amount for the order. For example, if an order was originally for a grand total of $100 and a refund was issued for $20, the net amount will be $80.

The REST id of the order. Globally unique.

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#order".

Line items that are ordered.

Refunds for the order.

Whether the order was acknowledged.

The status of the payment.

no description provided

Merchant-provided id of the order.

The requested shipping option.

The status of the order.

The details for the delivery.

The date when the order was placed, in ISO 8601 format.

The tax for the total shipping cost.

The details of the payment method.

Trait Implementations

impl Default for Order
[src]

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

impl Clone for Order
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Order
[src]

Formats the value using the given formatter. Read more

impl Resource for Order
[src]

impl ResponseResult for Order
[src]

Auto Trait Implementations

impl Send for Order

impl Sync for Order