mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
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:
@ -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 {
|
||||
|
||||
@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user