amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * The Selling Partner API for Amazon Warehousing and Distribution
 *
 * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
 *
 * The version of the OpenAPI document: 2024-05-09
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// InboundOrderReference : A response that contains the reference identifiers for the newly created or updated inbound order. Consists of an order ID and version.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InboundOrderReference {
    /// Order ID of the inbound order.
    #[serde(rename = "orderId")]
    pub order_id: String,
}

impl InboundOrderReference {
    /// A response that contains the reference identifiers for the newly created or updated inbound order. Consists of an order ID and version.
    pub fn new(order_id: String) -> InboundOrderReference {
        InboundOrderReference {
            order_id,
        }
    }
}