use crate::spot::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetPayTransactionsV1RespDataInner {
#[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
pub amount: Option<String>,
#[serde(rename = "currency", skip_serializing_if = "Option::is_none")]
pub currency: Option<String>,
#[serde(rename = "fundsDetail", skip_serializing_if = "Option::is_none")]
pub funds_detail: Option<Vec<models::GetPayTransactionsV1RespDataInnerFundsDetailInner>>,
#[serde(rename = "orderType", skip_serializing_if = "Option::is_none")]
pub order_type: Option<String>,
#[serde(rename = "payerInfo", skip_serializing_if = "Option::is_none")]
pub payer_info: Option<Box<models::GetPayTransactionsV1RespDataInnerPayerInfo>>,
#[serde(rename = "receiverInfo", skip_serializing_if = "Option::is_none")]
pub receiver_info: Option<Box<models::GetPayTransactionsV1RespDataInnerReceiverInfo>>,
#[serde(rename = "transactionId", skip_serializing_if = "Option::is_none")]
pub transaction_id: Option<String>,
#[serde(rename = "transactionTime", skip_serializing_if = "Option::is_none")]
pub transaction_time: Option<i64>,
#[serde(rename = "walletType", skip_serializing_if = "Option::is_none")]
pub wallet_type: Option<i32>,
#[serde(rename = "walletTypes", skip_serializing_if = "Option::is_none")]
pub wallet_types: Option<Vec<i32>>,
}
impl GetPayTransactionsV1RespDataInner {
pub fn new() -> GetPayTransactionsV1RespDataInner {
GetPayTransactionsV1RespDataInner {
amount: None,
currency: None,
funds_detail: None,
order_type: None,
payer_info: None,
receiver_info: None,
transaction_id: None,
transaction_time: None,
wallet_type: None,
wallet_types: None,
}
}
}