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
31
32
33
34
35
/*
 * Selling Partner API for Direct Fulfillment Orders
 *
 * The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor's order data.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

/// AcknowledgementStatus : Status of acknowledgement.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct AcknowledgementStatus {
    /// Acknowledgement code is a unique two digit value which indicates the status of the acknowledgement. For a list of acknowledgement codes that Amazon supports, see the Vendor Direct Fulfillment APIs Use Case Guide.
    #[serde(default, rename = "code", skip_serializing_if = "Option::is_none")]
    pub code: Option<String>,
    /// Reason for the acknowledgement code.
    #[serde(default, rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
}

impl AcknowledgementStatus {
    /// Status of acknowledgement.
    pub fn new() -> AcknowledgementStatus {
        AcknowledgementStatus {
            code: None,
            description: None,
        }
    }
}