Skip to main content

amazon_spapi/models/vendor_direct_fulfillment_payments_v1/
transaction_reference.rs

1/*
2 * Selling Partner API for Direct Fulfillment Payments
3 *
4 * The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice 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/// TransactionReference : Response containing the transaction ID.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct TransactionReference {
17    /// GUID 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    /// Response containing the transaction ID.
24    pub fn new() -> TransactionReference {
25        TransactionReference {
26            transaction_id: None,
27        }
28    }
29}
30