tosspayments/data/
virtual_account.rs1use serde::{Deserialize, Serialize};
2
3use crate::data::{Account, BankCode, RefundStatus, SettlementStatus, VirtualAccountType};
4
5#[derive(Clone, Debug, Serialize, Deserialize)]
6#[serde(rename_all = "camelCase")]
7pub struct VirtualAccount {
8 pub account_type: VirtualAccountType,
9 pub account_number: String,
10 pub bank_code: BankCode,
11 pub customer_name: String,
12 pub due_date: String,
13 pub refund_status: RefundStatus,
14 pub expired: bool,
15 pub settlement_status: SettlementStatus,
16 pub refund_receive_account: Option<Account>,
17}