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

/// SkuPrepInstructions : Labeling requirements and item preparation instructions to help you prepare items for shipment to Amazon's fulfillment network.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SkuPrepInstructions {
    /// The seller SKU of the item.
    #[serde(rename = "SellerSKU", skip_serializing_if = "Option::is_none")]
    pub seller_sku: Option<String>,
    /// 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>>,
    /// A list of preparation instructions and fees for Amazon to prep goods for shipment.
    #[serde(rename = "AmazonPrepFeesDetailsList", skip_serializing_if = "Option::is_none")]
    pub amazon_prep_fees_details_list: Option<Vec<models::fulfillment_inbound_v0::AmazonPrepFeesDetails>>,
}

impl SkuPrepInstructions {
    /// Labeling requirements and item preparation instructions to help you prepare items for shipment to Amazon's fulfillment network.
    pub fn new() -> SkuPrepInstructions {
        SkuPrepInstructions {
            seller_sku: None,
            asin: None,
            barcode_instruction: None,
            prep_guidance: None,
            prep_instruction_list: None,
            amazon_prep_fees_details_list: None,
        }
    }
}