/*
* 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};
/// Route : This is used only for direct import shipment confirmations.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Route {
/// The port or location involved in transporting the cargo, as specified in transportation contracts or operational plans.
#[serde(rename = "stops")]
pub stops: Vec<models::vendor_shipments::Stop>,
}
impl Route {
/// This is used only for direct import shipment confirmations.
pub fn new(stops: Vec<models::vendor_shipments::Stop>) -> Route {
Route {
stops,
}
}
}