1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * Selling Partner API for Fulfillment Inbound
 *
 * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
 *
 * The version of the OpenAPI document: v0
 * 
 * Generated by: https://openapi-generator.tech
 */

/// TransportDetailInput : Information required to create an Amazon-partnered carrier shipping estimate, or to alert the Amazon fulfillment center to the arrival of an inbound shipment by a non-Amazon-partnered carrier.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct TransportDetailInput {
    #[serde(default, rename = "PartneredSmallParcelData", skip_serializing_if = "Option::is_none")]
    pub partnered_small_parcel_data: Option<Box<crate::models::PartneredSmallParcelDataInput>>,
    #[serde(default, rename = "NonPartneredSmallParcelData", skip_serializing_if = "Option::is_none")]
    pub non_partnered_small_parcel_data: Option<Box<crate::models::NonPartneredSmallParcelDataInput>>,
    #[serde(default, rename = "PartneredLtlData", skip_serializing_if = "Option::is_none")]
    pub partnered_ltl_data: Option<Box<crate::models::PartneredLtlDataInput>>,
    #[serde(default, rename = "NonPartneredLtlData", skip_serializing_if = "Option::is_none")]
    pub non_partnered_ltl_data: Option<Box<crate::models::NonPartneredLtlDataInput>>,
}

impl TransportDetailInput {
    /// Information required to create an Amazon-partnered carrier shipping estimate, or to alert the Amazon fulfillment center to the arrival of an inbound shipment by a non-Amazon-partnered carrier.
    pub fn new() -> TransportDetailInput {
        TransportDetailInput {
            partnered_small_parcel_data: None,
            non_partnered_small_parcel_data: None,
            partnered_ltl_data: None,
            non_partnered_ltl_data: None,
        }
    }
}