feat(router): add connector field to PaymentRevenueRecoveryMetadata and implement schedule_failed_payment (#7462)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Aditya Chaurasia
2025-03-13 14:48:36 +05:30
committed by GitHub
parent 13c621ae62
commit aa337eee9c
18 changed files with 174 additions and 51 deletions

View File

@ -274,6 +274,7 @@ impl ApiModelToDieselModelConvertor<ApiRevenueRecoveryMetadata> for PaymentReven
),
payment_method_type: from.payment_method_type,
payment_method_subtype: from.payment_method_subtype,
connector: from.connector,
}
}
@ -288,6 +289,7 @@ impl ApiModelToDieselModelConvertor<ApiRevenueRecoveryMetadata> for PaymentReven
.convert_back(),
payment_method_type: self.payment_method_type,
payment_method_subtype: self.payment_method_subtype,
connector: self.connector,
}
}
}