amazon_spapi/models/vendor_orders/
transaction_id.rs

1/*
2 * Selling Partner API for Retail Procurement Orders
3 *
4 * The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
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/// TransactionId : Response containing the transaction ID.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TransactionId {
17    /// GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
18    #[serde(rename = "transactionId", skip_serializing_if = "Option::is_none")]
19    pub transaction_id: Option<String>,
20}
21
22impl TransactionId {
23    /// Response containing the transaction ID.
24    pub fn new() -> TransactionId {
25        TransactionId {
26            transaction_id: None,
27        }
28    }
29}
30