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
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ChargeRefundEvent {
#[serde(default, rename = "PostedDate", skip_serializing_if = "Option::is_none")]
pub posted_date: Option<String>,
#[serde(default, rename = "ReasonCode", skip_serializing_if = "Option::is_none")]
pub reason_code: Option<String>,
#[serde(default, rename = "ReasonCodeDescription", skip_serializing_if = "Option::is_none")]
pub reason_code_description: Option<String>,
#[serde(default, rename = "ChargeRefundTransactions", skip_serializing_if = "Option::is_none")]
pub charge_refund_transactions: Option<Box<crate::models::ChargeRefundTransaction>>,
}
impl ChargeRefundEvent {
pub fn new() -> ChargeRefundEvent {
ChargeRefundEvent {
posted_date: None,
reason_code: None,
reason_code_description: None,
charge_refund_transactions: None,
}
}
}