1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Model struct for DigitalWalletDetails type.

use serde::{Deserialize, Serialize};

use super::enums::CardPaymentDetailsStatus;

/// Additional details about `WALLET` type payments.
///
/// Contains only non-confidential information.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct DigitalWalletDetails {
    /// The status of the `WALLET` payment.
    pub status: Option<CardPaymentDetailsStatus>,
}