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};

/// PrepInstruction : Information pertaining to the preparation of inbound products.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PrepInstruction {
    #[serde(rename = "prepOwner", skip_serializing_if = "Option::is_none")]
    pub prep_owner: Option<models::awd_2024_05_09::PrepOwner>,
    /// 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.
    #[serde(rename = "prepType", skip_serializing_if = "Option::is_none")]
    pub prep_type: Option<String>,
}

impl PrepInstruction {
    /// Information pertaining to the preparation of inbound products.
    pub fn new() -> PrepInstruction {
        PrepInstruction {
            prep_owner: None,
            prep_type: None,
        }
    }
}