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

/// AmazonPrepFeesDetails : The fees for Amazon to prep goods for shipment.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AmazonPrepFeesDetails {
    #[serde(rename = "PrepInstruction", skip_serializing_if = "Option::is_none")]
    pub prep_instruction: Option<models::fulfillment_inbound_v0::PrepInstruction>,
    #[serde(rename = "FeePerUnit", skip_serializing_if = "Option::is_none")]
    pub fee_per_unit: Option<Box<models::fulfillment_inbound_v0::Amount>>,
}

impl AmazonPrepFeesDetails {
    /// The fees for Amazon to prep goods for shipment.
    pub fn new() -> AmazonPrepFeesDetails {
        AmazonPrepFeesDetails {
            prep_instruction: None,
            fee_per_unit: None,
        }
    }
}