pub struct OrderDetails {
Show 14 fields pub purchase_order_date: String, pub purchase_order_changed_date: Option<String>, pub purchase_order_state_changed_date: String, pub purchase_order_type: Option<PurchaseOrderType>, pub import_details: Option<Box<ImportDetails>>, pub deal_code: Option<String>, pub payment_method: Option<PaymentMethod>, pub buying_party: Option<Box<PartyIdentification>>, pub selling_party: Option<Box<PartyIdentification>>, pub ship_to_party: Option<Box<PartyIdentification>>, pub bill_to_party: Option<Box<PartyIdentification>>, pub ship_window: Option<String>, pub delivery_window: Option<String>, pub items: Vec<OrderItem>,
}
Expand description

OrderDetails : Details of an order.

Fields

purchase_order_date: String

The date the purchase order was placed. Must be in ISO-8601 date/time format.

purchase_order_changed_date: Option<String>

The date when purchase order was last changed by Amazon after the order was placed. This date will be greater than ‘purchaseOrderDate’. This means the PO data was changed on that date and vendors are required to fulfill the updated PO. The PO changes can be related to Item Quantity, Ship to Location, Ship Window etc. This field will not be present in orders that have not changed after creation. Must be in ISO-8601 date/time format.

purchase_order_state_changed_date: String

The date when current purchase order state was changed. Current purchase order state is available in the field ‘purchaseOrderState’. Must be in ISO-8601 date/time format.

purchase_order_type: Option<PurchaseOrderType>

Type of purchase order.

import_details: Option<Box<ImportDetails>>deal_code: Option<String>

If requested by the recipient, this field will contain a promotional/deal number. The discount code line is optional. It is used to obtain a price discount on items on the order.

payment_method: Option<PaymentMethod>

Payment method used.

buying_party: Option<Box<PartyIdentification>>selling_party: Option<Box<PartyIdentification>>ship_to_party: Option<Box<PartyIdentification>>bill_to_party: Option<Box<PartyIdentification>>ship_window: Option<String>

Defines a date time interval according to ISO8601. Interval is separated by double hyphen (–).

delivery_window: Option<String>

Defines a date time interval according to ISO8601. Interval is separated by double hyphen (–).

items: Vec<OrderItem>

A list of items in this purchase order.

Implementations

Details of an order.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more