refactor(connector): [Adyen] change expiresAt time from string to unixtimestamp (#3506)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Swangi Kumari
2024-01-31 22:37:47 +05:30
committed by GitHub
parent 7251f6474f
commit b7c0f9aa09
4 changed files with 63 additions and 7 deletions

View File

@ -2019,7 +2019,7 @@ pub struct BankTransferNextStepsData {
#[derive(Clone, Debug, Eq, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]
pub struct VoucherNextStepData {
/// Voucher expiry date and time
pub expires_at: Option<String>,
pub expires_at: Option<i64>,
/// Reference number required for the transaction
pub reference: String,
/// Url to download the payment instruction
@ -2087,8 +2087,8 @@ pub struct MultibancoTransferInstructions {
#[derive(Clone, Debug, Eq, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]
pub struct DokuBankTransferInstructions {
#[schema(value_type = String, example = "2023-07-26T17:33:00-07-21")]
pub expires_at: Option<String>,
#[schema(value_type = String, example = "1707091200000")]
pub expires_at: Option<i64>,
#[schema(value_type = String, example = "122385736258")]
pub reference: Secret<String>,
#[schema(value_type = String)]