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
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct DebtRecoveryEvent {
#[serde(default, rename = "DebtRecoveryType", skip_serializing_if = "Option::is_none")]
pub debt_recovery_type: Option<String>,
#[serde(default, rename = "RecoveryAmount", skip_serializing_if = "Option::is_none")]
pub recovery_amount: Option<Box<crate::models::Currency>>,
#[serde(default, rename = "OverPaymentCredit", skip_serializing_if = "Option::is_none")]
pub over_payment_credit: Option<Box<crate::models::Currency>>,
#[serde(default, rename = "DebtRecoveryItemList", skip_serializing_if = "Option::is_none")]
pub debt_recovery_item_list: Option<Vec<crate::models::DebtRecoveryItem>>,
#[serde(default, rename = "ChargeInstrumentList", skip_serializing_if = "Option::is_none")]
pub charge_instrument_list: Option<Vec<crate::models::ChargeInstrument>>,
}
impl DebtRecoveryEvent {
pub fn new() -> DebtRecoveryEvent {
DebtRecoveryEvent {
debt_recovery_type: None,
recovery_amount: None,
over_payment_credit: None,
debt_recovery_item_list: None,
charge_instrument_list: None,
}
}
}