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
40
41
42
43
/*
 * Selling Partner API for FBA Inventory
 *
 * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

/// ReservedQuantity : The quantity of reserved inventory.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ReservedQuantity {
    /// The total number of units in Amazon's fulfillment network that are currently being picked, packed, and shipped; or are sidelined for measurement, sampling, or other internal processes.
    #[serde(default, rename = "totalReservedQuantity", skip_serializing_if = "Option::is_none")]
    pub total_reserved_quantity: Option<i32>,
    /// The number of units reserved for customer orders.
    #[serde(default, rename = "pendingCustomerOrderQuantity", skip_serializing_if = "Option::is_none")]
    pub pending_customer_order_quantity: Option<i32>,
    /// The number of units being transferred from one fulfillment center to another.
    #[serde(default, rename = "pendingTransshipmentQuantity", skip_serializing_if = "Option::is_none")]
    pub pending_transshipment_quantity: Option<i32>,
    /// The number of units that have been sidelined at the fulfillment center for additional processing.
    #[serde(default, rename = "fcProcessingQuantity", skip_serializing_if = "Option::is_none")]
    pub fc_processing_quantity: Option<i32>,
}

impl ReservedQuantity {
    /// The quantity of reserved inventory.
    pub fn new() -> ReservedQuantity {
        ReservedQuantity {
            total_reserved_quantity: None,
            pending_customer_order_quantity: None,
            pending_transshipment_quantity: None,
            fc_processing_quantity: None,
        }
    }
}