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
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct GetPreorderInfoResult {
    /// Indicates whether the shipment contains items that have been enabled for pre-order. For more information about enabling items for pre-order, see the Seller Central Help.
    #[serde(default, rename = "ShipmentContainsPreorderableItems", skip_serializing_if = "Option::is_none")]
    pub shipment_contains_preorderable_items: Option<bool>,
    /// Indicates whether this shipment has been confirmed for pre-order.
    #[serde(default, rename = "ShipmentConfirmedForPreorder", skip_serializing_if = "Option::is_none")]
    pub shipment_confirmed_for_preorder: Option<bool>,
    #[serde(default, rename = "NeedByDate", skip_serializing_if = "Option::is_none")]
    pub need_by_date: Option<String>,
    #[serde(default, rename = "ConfirmedFulfillableDate", skip_serializing_if = "Option::is_none")]
    pub confirmed_fulfillable_date: Option<String>,
}

impl GetPreorderInfoResult {
    pub fn new() -> GetPreorderInfoResult {
        GetPreorderInfoResult {
            shipment_contains_preorderable_items: None,
            shipment_confirmed_for_preorder: None,
            need_by_date: None,
            confirmed_fulfillable_date: None,
        }
    }
}