amazon_spapi/models/shipping_v2/
collections_form_document.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/// CollectionsFormDocument : Collection Form Document Details
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CollectionsFormDocument {
17    /// Base64 document Value of Collection.
18    #[serde(rename = "base64EncodedContent", skip_serializing_if = "Option::is_none")]
19    pub base64_encoded_content: Option<String>,
20    /// Collection Document format is PDF.
21    #[serde(rename = "documentFormat", skip_serializing_if = "Option::is_none")]
22    pub document_format: Option<String>,
23}
24
25impl CollectionsFormDocument {
26    /// Collection Form Document Details
27    pub fn new() -> CollectionsFormDocument {
28        CollectionsFormDocument {
29            base64_encoded_content: None,
30            document_format: None,
31        }
32    }
33}
34