1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use params::{List, Timestamp};
use resources::{Currency, Refund};
#[derive(Debug, Deserialize)]
pub struct ApplicationFee {
pub id: String,
pub object: String,
pub account: String,
pub amount: u64,
pub amount_refunded: i64,
pub application: String,
pub balance_transaction: String,
pub charge: String,
pub created: Timestamp,
pub currency: Currency,
pub livemode: bool,
pub originating_transaction: Option<String>,
pub refunded: bool,
pub refunds: List<Refund>,
}