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

/// PrepDetails : Preparation instructions and who is responsible for the preparation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PrepDetails {
    #[serde(rename = "PrepInstruction")]
    pub prep_instruction: models::fulfillment_inbound_v0::PrepInstruction,
    #[serde(rename = "PrepOwner")]
    pub prep_owner: models::fulfillment_inbound_v0::PrepOwner,
}

impl PrepDetails {
    /// Preparation instructions and who is responsible for the preparation.
    pub fn new(prep_instruction: models::fulfillment_inbound_v0::PrepInstruction, prep_owner: models::fulfillment_inbound_v0::PrepOwner) -> PrepDetails {
        PrepDetails {
            prep_instruction,
            prep_owner,
        }
    }
}