amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Retail Procurement Shipments
 *
 * The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// SubmitShipments : The request schema for the SubmitShipments operation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubmitShipments {
    /// A list of one or more shipments with underlying details.
    #[serde(rename = "shipments", skip_serializing_if = "Option::is_none")]
    pub shipments: Option<Vec<models::vendor_shipments::Shipment>>,
}

impl SubmitShipments {
    /// The request schema for the SubmitShipments operation.
    pub fn new() -> SubmitShipments {
        SubmitShipments {
            shipments: None,
        }
    }
}