Struct google_content2_sandbox::api::TestOrder
source · pub struct TestOrder {
pub customer: Option<TestOrderCustomer>,
pub enable_orderinvoices: Option<bool>,
pub kind: Option<String>,
pub line_items: Option<Vec<TestOrderLineItem>>,
pub notification_mode: Option<String>,
pub payment_method: Option<TestOrderPaymentMethod>,
pub predefined_delivery_address: Option<String>,
pub promotions: Option<Vec<OrderLegacyPromotion>>,
pub shipping_cost: Option<Price>,
pub shipping_cost_tax: Option<Price>,
pub shipping_option: Option<String>,
}
Expand description
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.
enable_orderinvoices: Option<bool>
Whether the orderinvoices service should support this order.
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.
payment_method: Option<TestOrderPaymentMethod>
The details of the payment method.
predefined_delivery_address: Option<String>
Identifier of one of the predefined delivery addresses for the delivery.
promotions: Option<Vec<OrderLegacyPromotion>>
Deprecated. The details of the merchant provided promotions applied to the order. More details about the program are here.
shipping_cost: Option<Price>
The total cost of shipping for all items.
shipping_cost_tax: Option<Price>
The tax for the total shipping cost.
shipping_option: Option<String>
The requested shipping option.