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::{Identifiable, Metadata, Timestamp}; use resources::Currency; /// The resource representing a Stripe application fee refund. /// /// For more details see https://stripe.com/docs/api#fee_refunds. #[derive(Clone, Debug, Deserialize, Serialize)] pub struct ApplicationFeeRefund { pub id: String, pub object: String, pub amount: u64, pub balance_transaction: Option<String>, pub created: Timestamp, pub currency: Currency, pub fee: String, pub metadata: Metadata, } impl Identifiable for ApplicationFeeRefund { fn id(&self) -> &str { &self.id } }