mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(connector): [Adyen] implement Swish for Adyen (#1701)
Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in> Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
This commit is contained in:
@ -873,7 +873,6 @@ pub enum BankRedirectData {
|
||||
#[schema(example = "en")]
|
||||
preferred_language: String,
|
||||
},
|
||||
Swish {},
|
||||
Trustly {
|
||||
/// The country for bank payment
|
||||
#[schema(value_type = CountryAlpha2, example = "US")]
|
||||
@ -1032,6 +1031,8 @@ pub enum WalletData {
|
||||
WeChatPayRedirect(Box<WeChatPayRedirection>),
|
||||
/// The wallet data for WeChat Pay Display QrCode
|
||||
WeChatPayQr(Box<WeChatPayQr>),
|
||||
// The wallet data for Swish
|
||||
SwishQr(SwishQrData),
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
@ -1129,6 +1130,9 @@ pub struct PayPalWalletData {
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
pub struct TouchNGoRedirection {}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
pub struct SwishQrData {}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
pub struct GpayTokenizationData {
|
||||
/// The type of the token
|
||||
@ -1378,7 +1382,7 @@ pub struct BankTransferNextStepsData {
|
||||
pub receiver: ReceiverDetails,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize)]
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct QrCodeNextStepsInstruction {
|
||||
pub image_data_url: Url,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user