/*
* The Selling Partner API for FBA inbound operations.
*
* The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
*
* The version of the OpenAPI document: 2024-03-20
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CustomPlacementInput : Provide units going to the warehouse.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomPlacementInput {
/// Items included while creating Inbound Plan.
#[serde(rename = "items")]
pub items: Vec<models::fulfillment_inbound_2024_03_20::ItemInput>,
/// Warehouse Id.
#[serde(rename = "warehouseId")]
pub warehouse_id: String,
}
impl CustomPlacementInput {
/// Provide units going to the warehouse.
pub fn new(items: Vec<models::fulfillment_inbound_2024_03_20::ItemInput>, warehouse_id: String) -> CustomPlacementInput {
CustomPlacementInput {
items,
warehouse_id,
}
}
}