amazon_spapi/models/fba_inventory/
reserved_quantity.rs

1/*
2 * Selling Partner API for FBA Inventory
3 *
4 * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ReservedQuantity : The quantity of reserved inventory.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ReservedQuantity {
17    /// 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.
18    #[serde(rename = "totalReservedQuantity", skip_serializing_if = "Option::is_none")]
19    pub total_reserved_quantity: Option<i32>,
20    /// The number of units reserved for customer orders.
21    #[serde(rename = "pendingCustomerOrderQuantity", skip_serializing_if = "Option::is_none")]
22    pub pending_customer_order_quantity: Option<i32>,
23    /// The number of units being transferred from one fulfillment center to another.
24    #[serde(rename = "pendingTransshipmentQuantity", skip_serializing_if = "Option::is_none")]
25    pub pending_transshipment_quantity: Option<i32>,
26    /// The number of units that have been sidelined at the fulfillment center for additional processing.
27    #[serde(rename = "fcProcessingQuantity", skip_serializing_if = "Option::is_none")]
28    pub fc_processing_quantity: Option<i32>,
29}
30
31impl ReservedQuantity {
32    /// The quantity of reserved inventory.
33    pub fn new() -> ReservedQuantity {
34        ReservedQuantity {
35            total_reserved_quantity: None,
36            pending_customer_order_quantity: None,
37            pending_transshipment_quantity: None,
38            fc_processing_quantity: None,
39        }
40    }
41}
42