/*
* The Selling Partner API for Amazon Warehousing and Distribution
*
* The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
*
* The version of the OpenAPI document: 2024-05-09
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// TransportationDetails : Transportation details for the shipment.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransportationDetails {
/// Tracking details for the shipment. If using SPD transportation, this can be for each case. If not using SPD transportation, this is a single tracking entry for the entire shipment.
#[serde(rename = "trackingDetails")]
pub tracking_details: Vec<models::awd_2024_05_09::TrackingDetails>,
}
impl TransportationDetails {
/// Transportation details for the shipment.
pub fn new(tracking_details: Vec<models::awd_2024_05_09::TrackingDetails>) -> TransportationDetails {
TransportationDetails {
tracking_details,
}
}
}