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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct FeesEstimateIdentifier {
#[serde(default, rename = "MarketplaceId", skip_serializing_if = "Option::is_none")]
pub marketplace_id: Option<String>,
#[serde(default, rename = "SellerId", skip_serializing_if = "Option::is_none")]
pub seller_id: Option<String>,
#[serde(default, rename = "IdType", skip_serializing_if = "Option::is_none")]
pub id_type: Option<crate::models::IdType>,
#[serde(default, rename = "IdValue", skip_serializing_if = "Option::is_none")]
pub id_value: Option<String>,
#[serde(default, rename = "IsAmazonFulfilled", skip_serializing_if = "Option::is_none")]
pub is_amazon_fulfilled: Option<bool>,
#[serde(default, rename = "PriceToEstimateFees", skip_serializing_if = "Option::is_none")]
pub price_to_estimate_fees: Option<Box<crate::models::PriceToEstimateFees>>,
#[serde(default, rename = "SellerInputIdentifier", skip_serializing_if = "Option::is_none")]
pub seller_input_identifier: Option<String>,
#[serde(default, rename = "OptionalFulfillmentProgram", skip_serializing_if = "Option::is_none")]
pub optional_fulfillment_program: Option<crate::models::OptionalFulfillmentProgram>,
}
impl FeesEstimateIdentifier {
pub fn new() -> FeesEstimateIdentifier {
FeesEstimateIdentifier {
marketplace_id: None,
seller_id: None,
id_type: None,
id_value: None,
is_amazon_fulfilled: None,
price_to_estimate_fees: None,
seller_input_identifier: None,
optional_fulfillment_program: None,
}
}
}