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
38
39
40
/*
 * Selling Partner API for Product Fees
 *
 * The Selling Partner API for Product Fees lets you programmatically retrieve estimated fees for a product. You can then account for those fees in your pricing.
 *
 * The version of the OpenAPI document: v0
 * 
 * Generated by: https://openapi-generator.tech
 */

/// FeesEstimateResult : An item identifier and the estimated fees for the item.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct FeesEstimateResult {
    /// The status of the fee request. Possible values: Success, ClientError, ServiceError.
    #[serde(default, rename = "Status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(default, rename = "FeesEstimateIdentifier", skip_serializing_if = "Option::is_none")]
    pub fees_estimate_identifier: Option<Box<crate::models::FeesEstimateIdentifier>>,
    #[serde(default, rename = "FeesEstimate", skip_serializing_if = "Option::is_none")]
    pub fees_estimate: Option<Box<crate::models::FeesEstimate>>,
    #[serde(default, rename = "Error", skip_serializing_if = "Option::is_none")]
    pub error: Option<Box<crate::models::FeesEstimateError>>,
}

impl FeesEstimateResult {
    /// An item identifier and the estimated fees for the item.
    pub fn new() -> FeesEstimateResult {
        FeesEstimateResult {
            status: None,
            fees_estimate_identifier: None,
            fees_estimate: None,
            error: None,
        }
    }
}