amazon_spapi/models/awd_2024_05_09/inbound_packages.rs
1/*
2 * The Selling Partner API for Amazon Warehousing and Distribution
3 *
4 * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
5 *
6 * The version of the OpenAPI document: 2024-05-09
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// InboundPackages : Represents the packages to inbound.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct InboundPackages {
17 /// List of packages to be inbounded.
18 #[serde(rename = "packagesToInbound")]
19 pub packages_to_inbound: Vec<models::awd_2024_05_09::DistributionPackageQuantity>,
20}
21
22impl InboundPackages {
23 /// Represents the packages to inbound.
24 pub fn new(packages_to_inbound: Vec<models::awd_2024_05_09::DistributionPackageQuantity>) -> InboundPackages {
25 InboundPackages {
26 packages_to_inbound,
27 }
28 }
29}
30