amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * 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};

/// InboundPackages : Represents the packages to inbound.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InboundPackages {
    /// List of packages to be inbounded.
    #[serde(rename = "packagesToInbound")]
    pub packages_to_inbound: Vec<models::awd_2024_05_09::DistributionPackageQuantity>,
}

impl InboundPackages {
    /// Represents the packages to inbound.
    pub fn new(packages_to_inbound: Vec<models::awd_2024_05_09::DistributionPackageQuantity>) -> InboundPackages {
        InboundPackages {
            packages_to_inbound,
        }
    }
}