/*
* 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};
/// BoxRequirements : The requirements for a box in the packing option.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BoxRequirements {
#[serde(rename = "weight")]
pub weight: Box<models::fulfillment_inbound_2024_03_20::WeightRange>,
}
impl BoxRequirements {
/// The requirements for a box in the packing option.
pub fn new(weight: models::fulfillment_inbound_2024_03_20::WeightRange) -> BoxRequirements {
BoxRequirements {
weight: Box::new(weight),
}
}
}