1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/*
* 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
*/
/// Route : This is used only for direct import shipment confirmations.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Route {
#[serde(default, rename = "stops")]
pub stops: Vec<crate::models::Stop>,
}
impl Route {
/// This is used only for direct import shipment confirmations.
pub fn new(stops: Vec<crate::models::Stop>) -> Route {
Route {
stops,
}
}
}