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
/*
 * Selling Partner API for Orders
 *
 * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
 *
 * The version of the OpenAPI document: v0
 * 
 * Generated by: https://openapi-generator.tech
 */

/// ProductInfoDetail : Product information on the number of items.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ProductInfoDetail {
    /// The total number of items that are included in the ASIN.
    #[serde(default, rename = "NumberOfItems", skip_serializing_if = "Option::is_none", deserialize_with = "amazon_sp_api_shared::helpers::deserialize_opt_i32_with_parse")]
    pub number_of_items: Option<i32>,
}

impl ProductInfoDetail {
    /// Product information on the number of items.
    pub fn new() -> ProductInfoDetail {
        ProductInfoDetail {
            number_of_items: None,
        }
    }
}