revert: feat(connector): [Adyen] Add pix support for adyen (#1795)

This commit is contained in:
Sangamesh Kulkarni
2023-07-26 20:46:15 +05:30
committed by GitHub
parent 9cfdce0abe
commit 38f14b9f39
10 changed files with 181 additions and 280 deletions

View File

@ -964,7 +964,6 @@ pub enum BankTransferData {
/// The billing details for Multibanco
billing_details: MultibancoBillingDetails,
},
Pix {},
}
#[derive(serde::Deserialize, serde::Serialize, Debug, Clone, ToSchema, Eq, PartialEq)]
@ -1345,12 +1344,8 @@ pub enum NextActionData {
ThirdPartySdkSessionToken { session_token: Option<SessionToken> },
/// Contains url for Qr code image, this qr code has to be shown in sdk
QrCodeInformation {
/// Hyperswitch generated image data source url
#[schema(value_type = String)]
image_data_url: Option<Url>,
/// The url for Qr code given by the connector
#[schema(value_type = String)]
qr_code_url: Option<Url>,
image_data_url: Url,
},
}
@ -1365,10 +1360,7 @@ pub struct BankTransferNextStepsData {
#[derive(Clone, Debug, serde::Deserialize)]
pub struct QrCodeNextStepsInstruction {
/// Hyperswitch generated image data source url
pub image_data_url: Option<Url>,
/// The url for Qr code given by the connector
pub qr_code_url: Option<Url>,
pub image_data_url: Url,
}
#[derive(Clone, Debug, Eq, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]