refactor(connector): [Adyen] map ssn and session validity for Pix (#8702)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Kashif
2025-07-22 15:45:12 +05:30
committed by GitHub
parent 0c5bbad9c2
commit 9bf1e95f06
6 changed files with 94 additions and 1 deletions

View File

@ -3441,6 +3441,11 @@ pub enum BankTransferData {
/// Destination bank account number
#[schema(value_type = Option<String>, example = "9b95f84e-de61-460b-a14b-f23b4e71c97b")]
destination_bank_account_id: Option<MaskedBankAccount>,
/// The expiration date and time for the Pix QR code in ISO 8601 format
#[schema(value_type = Option<String>, example = "2025-09-10T10:11:12Z")]
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
expiry_date: Option<PrimitiveDateTime>,
},
Pse {},
LocalBankTransfer {

View File

@ -177,6 +177,11 @@ pub struct PixBankTransferAdditionalData {
/// Partially masked destination bank account number
#[schema(value_type = Option<String>, example = "********-****-460b-****-f23b4e71c97b")]
pub destination_bank_account_id: Option<MaskedBankAccount>,
/// The expiration date and time for the Pix QR code in ISO 8601 format
#[schema(value_type = Option<String>, example = "2025-09-10T10:11:12Z")]
#[serde(default, with = "common_utils::custom_serde::iso8601::option")]
pub expiry_date: Option<time::PrimitiveDateTime>,
}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]