Skip to main content

amazon_spapi/models/vendor_shipments/
transportation_labels.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/// TransportationLabels : The request schema for the GetShipmentLabels operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TransportationLabels {
17    #[serde(rename = "pagination", skip_serializing_if = "Option::is_none")]
18    pub pagination: Option<Box<models::vendor_shipments::Pagination>>,
19    /// A list of one or more ShipmentLabels.
20    #[serde(rename = "transportLabels", skip_serializing_if = "Option::is_none")]
21    pub transport_labels: Option<Vec<models::vendor_shipments::TransportLabel>>,
22}
23
24impl TransportationLabels {
25    /// The request schema for the GetShipmentLabels operation.
26    pub fn new() -> TransportationLabels {
27        TransportationLabels {
28            pagination: None,
29            transport_labels: None,
30        }
31    }
32}
33