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
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct BuyerInfo {
#[serde(default, rename = "BuyerEmail", skip_serializing_if = "Option::is_none")]
pub buyer_email: Option<String>,
#[serde(default, rename = "BuyerName", skip_serializing_if = "Option::is_none")]
pub buyer_name: Option<String>,
#[serde(default, rename = "BuyerCounty", skip_serializing_if = "Option::is_none")]
pub buyer_county: Option<String>,
#[serde(default, rename = "BuyerTaxInfo", skip_serializing_if = "Option::is_none")]
pub buyer_tax_info: Option<Box<crate::models::BuyerTaxInfo>>,
#[serde(default, rename = "PurchaseOrderNumber", skip_serializing_if = "Option::is_none")]
pub purchase_order_number: Option<String>,
}
impl BuyerInfo {
pub fn new() -> BuyerInfo {
BuyerInfo {
buyer_email: None,
buyer_name: None,
buyer_county: None,
buyer_tax_info: None,
purchase_order_number: None,
}
}
}