1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * 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
 */

/// BoxContentsFeeDetails : The manual processing fee per unit and total fee for a shipment.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BoxContentsFeeDetails {
    /// The item quantity.
    #[serde(default, rename = "TotalUnits", skip_serializing_if = "Option::is_none")]
    pub total_units: Option<i32>,
    #[serde(default, rename = "FeePerUnit", skip_serializing_if = "Option::is_none")]
    pub fee_per_unit: Option<Box<crate::models::Amount>>,
    #[serde(default, rename = "TotalFee", skip_serializing_if = "Option::is_none")]
    pub total_fee: Option<Box<crate::models::Amount>>,
}

impl BoxContentsFeeDetails {
    /// The manual processing fee per unit and total fee for a shipment.
    pub fn new() -> BoxContentsFeeDetails {
        BoxContentsFeeDetails {
            total_units: None,
            fee_per_unit: None,
            total_fee: None,
        }
    }
}