Skip to main content

amazon_spapi/models/shipping_v2/
generate_collection_form_response.rs

1/*
2 * Amazon Shipping API
3 *
4 * The Amazon Shipping API is designed to support outbound shipping use cases both for orders originating on Amazon-owned marketplaces as well as external channels/marketplaces. With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments.
5 *
6 * The version of the OpenAPI document: v2
7 * Contact: swa-api-core@amazon.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// GenerateCollectionFormResponse : The Response  for the GenerateCollectionFormResponse operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GenerateCollectionFormResponse {
17    #[serde(rename = "collectionsFormDocument", skip_serializing_if = "Option::is_none")]
18    pub collections_form_document: Option<Box<models::shipping_v2::CollectionsFormDocument>>,
19}
20
21impl GenerateCollectionFormResponse {
22    /// The Response  for the GenerateCollectionFormResponse operation.
23    pub fn new() -> GenerateCollectionFormResponse {
24        GenerateCollectionFormResponse {
25            collections_form_document: None,
26        }
27    }
28}
29