amazon_spapi/models/vendor_shipments/
submit_shipments.rs

1/*
2 * Selling Partner API for Retail Procurement Shipments
3 *
4 * The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
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/// SubmitShipments : The request schema for the SubmitShipments operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SubmitShipments {
17    /// A list of one or more shipments with underlying details.
18    #[serde(rename = "shipments", skip_serializing_if = "Option::is_none")]
19    pub shipments: Option<Vec<models::vendor_shipments::Shipment>>,
20}
21
22impl SubmitShipments {
23    /// The request schema for the SubmitShipments operation.
24    pub fn new() -> SubmitShipments {
25        SubmitShipments {
26            shipments: None,
27        }
28    }
29}
30