amazon_spapi/models/fulfillment_inbound_v0/
prep_details.rs

1/*
2 * Selling Partner API for Fulfillment Inbound
3 *
4 * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
5 *
6 * The version of the OpenAPI document: v0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// PrepDetails : Preparation instructions and who is responsible for the preparation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PrepDetails {
17    #[serde(rename = "PrepInstruction")]
18    pub prep_instruction: models::fulfillment_inbound_v0::PrepInstruction,
19    #[serde(rename = "PrepOwner")]
20    pub prep_owner: models::fulfillment_inbound_v0::PrepOwner,
21}
22
23impl PrepDetails {
24    /// Preparation instructions and who is responsible for the preparation.
25    pub fn new(prep_instruction: models::fulfillment_inbound_v0::PrepInstruction, prep_owner: models::fulfillment_inbound_v0::PrepOwner) -> PrepDetails {
26        PrepDetails {
27            prep_instruction,
28            prep_owner,
29        }
30    }
31}
32