Skip to main content

amazon_spapi/models/fba_inventory/
add_inventory_request.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/// AddInventoryRequest : The object with the list of Inventory to be added
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AddInventoryRequest {
17    /// List of Inventory to be added
18    #[serde(rename = "inventoryItems", skip_serializing_if = "Option::is_none")]
19    pub inventory_items: Option<Vec<models::fba_inventory::InventoryItem>>,
20}
21
22impl AddInventoryRequest {
23    /// The object with the list of Inventory to be added
24    pub fn new() -> AddInventoryRequest {
25        AddInventoryRequest {
26            inventory_items: None,
27        }
28    }
29}
30