amazon_spapi/models/vendor_shipments/transaction_reference.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/// TransactionReference : The response payload for the SubmitShipmentConfirmations operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TransactionReference {
17 /// GUID assigned by Buyer 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 TransactionReference {
23 /// The response payload for the SubmitShipmentConfirmations operation.
24 pub fn new() -> TransactionReference {
25 TransactionReference {
26 transaction_id: None,
27 }
28 }
29}
30