flutterwave_v3_models/common/
charge_res_data.rs1use serde::{Deserialize, Serialize};
2use crate::common::card_data_res::ResCardData;
3use super::customer::CustomerData;
4
5#[derive(Debug, Serialize, Deserialize)]
6pub struct ChargeResData {
7 pub id: i64,
8 pub tx_ref: String,
9 pub flw_ref: String,
10 pub device_fingerprint: String,
11 pub amount: i64,
12 pub charged_amount: i64,
13 pub app_fee: f64,
14 pub merchant_fee: i64,
15 pub processor_response: String,
16 pub auth_model: String,
17 pub currency: String,
18 pub ip: String,
19 pub narration: String,
20 pub status: String,
21 pub auth_url: String,
22 pub payment_type: String,
23 pub fraud_status: String,
24 pub charge_type: String,
25 pub created_at: String,
26 pub account_id: i64,
27 pub customer: CustomerData,
28 pub card: ResCardData,
29}