amazon_spapi/models/awd_2024_05_09/
prep_instruction.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/// PrepInstruction : Information pertaining to the preparation of inbound products.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PrepInstruction {
17    #[serde(rename = "prepOwner", skip_serializing_if = "Option::is_none")]
18    pub prep_owner: Option<models::awd_2024_05_09::PrepOwner>,
19    /// The type of preparation to be done. For more information about preparing items, refer to [Prep guidance](https://sellercentral.amazon.com/help/hub/reference/external/GF4G7547KSLDX2KC) on Seller Central.
20    #[serde(rename = "prepType", skip_serializing_if = "Option::is_none")]
21    pub prep_type: Option<String>,
22}
23
24impl PrepInstruction {
25    /// Information pertaining to the preparation of inbound products.
26    pub fn new() -> PrepInstruction {
27        PrepInstruction {
28            prep_owner: None,
29            prep_type: None,
30        }
31    }
32}
33