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
/*
* 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};
/// InventoryDetails : Additional inventory details. This object is only displayed if the details parameter in the request is set to `SHOW`.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InventoryDetails {
/// Quantity that is available for downstream channel replenishment.
#[serde(rename = "availableDistributableQuantity", skip_serializing_if = "Option::is_none")]
pub available_distributable_quantity: Option<i64>,
/// Quantity that is in transit from AWD and has not yet been received at FBA.
#[serde(rename = "replenishmentQuantity", skip_serializing_if = "Option::is_none")]
pub replenishment_quantity: Option<i64>,
/// Quantity that is reserved for a downstream channel replenishment order that is being prepared for shipment.
#[serde(rename = "reservedDistributableQuantity", skip_serializing_if = "Option::is_none")]
pub reserved_distributable_quantity: Option<i64>,
}
impl InventoryDetails {
/// Additional inventory details. This object is only displayed if the details parameter in the request is set to `SHOW`.
pub fn new() -> InventoryDetails {
InventoryDetails {
available_distributable_quantity: None,
replenishment_quantity: None,
reserved_distributable_quantity: None,
}
}
}