feat: support for paypal in wallet (#304)

This commit is contained in:
Sangamesh Kulkarni
2023-01-09 17:39:47 +05:30
committed by GitHub
parent e87fdb752d
commit 097807cbe9
7 changed files with 49 additions and 55 deletions

View File

@ -253,10 +253,10 @@ pub enum PaymentMethod {
Paypal,
}
#[derive(Debug, Clone, Eq, PartialEq, serde::Deserialize, serde::Serialize)]
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize)]
pub struct WalletData {
pub issuer_name: api_enums::WalletIssuer,
pub token: String,
pub token: Option<String>,
}
#[derive(Eq, PartialEq, Clone, Debug, serde::Serialize)]