amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Fulfillment Inbound
 *
 * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
 *
 * The version of the OpenAPI document: v0
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// AsinPrepInstructions : Item preparation instructions to help with item sourcing decisions.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AsinPrepInstructions {
    /// The Amazon Standard Identification Number (ASIN) of the item.
    #[serde(rename = "ASIN", skip_serializing_if = "Option::is_none")]
    pub asin: Option<String>,
    #[serde(rename = "BarcodeInstruction", skip_serializing_if = "Option::is_none")]
    pub barcode_instruction: Option<models::fulfillment_inbound_v0::BarcodeInstruction>,
    #[serde(rename = "PrepGuidance", skip_serializing_if = "Option::is_none")]
    pub prep_guidance: Option<models::fulfillment_inbound_v0::PrepGuidance>,
    /// A list of preparation instructions to help with item sourcing decisions.
    #[serde(rename = "PrepInstructionList", skip_serializing_if = "Option::is_none")]
    pub prep_instruction_list: Option<Vec<models::fulfillment_inbound_v0::PrepInstruction>>,
}

impl AsinPrepInstructions {
    /// Item preparation instructions to help with item sourcing decisions.
    pub fn new() -> AsinPrepInstructions {
        AsinPrepInstructions {
            asin: None,
            barcode_instruction: None,
            prep_guidance: None,
            prep_instruction_list: None,
        }
    }
}