amazon_spapi/models/awd_2024_05_09/inbound_order_reference.rs
1/*
2 * The Selling Partner API for Amazon Warehousing and Distribution
3 *
4 * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
5 *
6 * The version of the OpenAPI document: 2024-05-09
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// InboundOrderReference : A response that contains the reference identifiers for the newly created or updated inbound order. Consists of an order ID and version.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct InboundOrderReference {
17 /// Order ID of the inbound order.
18 #[serde(rename = "orderId")]
19 pub order_id: String,
20}
21
22impl InboundOrderReference {
23 /// A response that contains the reference identifiers for the newly created or updated inbound order. Consists of an order ID and version.
24 pub fn new(order_id: String) -> InboundOrderReference {
25 InboundOrderReference {
26 order_id,
27 }
28 }
29}
30