pub struct ShipmentConfirmation {
Show 17 fields pub shipment_identifier: String, pub shipment_confirmation_type: ShipmentConfirmationType, pub shipment_type: Option<ShipmentType>, pub shipment_structure: Option<ShipmentStructure>, pub transportation_details: Option<Box<TransportationDetails>>, pub amazon_reference_number: Option<String>, pub shipment_confirmation_date: String, pub shipped_date: Option<String>, pub estimated_delivery_date: Option<String>, pub selling_party: Box<PartyIdentification>, pub ship_from_party: Box<PartyIdentification>, pub ship_to_party: Box<PartyIdentification>, pub shipment_measurements: Option<Box<ShipmentMeasurements>>, pub import_details: Option<Box<ImportDetails>>, pub shipped_items: Vec<Item>, pub cartons: Option<Vec<Carton>>, pub pallets: Option<Vec<Pallet>>,
}

Fields

shipment_identifier: String

Unique shipment ID (not used over the last 365 days).

shipment_confirmation_type: ShipmentConfirmationType

Indicates if this shipment confirmation is the initial confirmation, or intended to replace an already posted shipment confirmation. If replacing an existing shipment confirmation, be sure to provide the identical shipmentIdentifier and sellingParty information as in the previous confirmation.

shipment_type: Option<ShipmentType>

The type of shipment.

shipment_structure: Option<ShipmentStructure>

Shipment hierarchical structure.

transportation_details: Option<Box<TransportationDetails>>amazon_reference_number: Option<String>

The Amazon Reference Number is a unique identifier generated by Amazon for all Collect/WePay shipments when you submit a routing request. This field is mandatory for Collect/WePay shipments.

shipment_confirmation_date: String

Date on which the shipment confirmation was submitted.

shipped_date: Option<String>

The date and time of the departure of the shipment from the vendor’s location. Vendors are requested to send ASNs within 30 minutes of departure from their warehouse/distribution center or at least 6 hours prior to the appointment time at the Amazon destination warehouse, whichever is sooner. Shipped date mentioned in the shipment confirmation should not be in the future.

estimated_delivery_date: Option<String>

The date and time on which the shipment is expected to reach buyer’s warehouse. It needs to be an estimate based on the average transit time between ship from location and the destination. The exact appointment time will be provided by the buyer and is potentially not known when creating the shipment confirmation.

selling_party: Box<PartyIdentification>ship_from_party: Box<PartyIdentification>ship_to_party: Box<PartyIdentification>shipment_measurements: Option<Box<ShipmentMeasurements>>import_details: Option<Box<ImportDetails>>shipped_items: Vec<Item>

A list of the items in this shipment and their associated details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.

cartons: Option<Vec<Carton>>

A list of the cartons in this shipment.

pallets: Option<Vec<Pallet>>

A list of the pallets in this shipment.

Implementations

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