Refactor(core): make save_payment_method as post_update_tracker trait function (#4307)

Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Prajjwal Kumar
2024-04-25 13:31:43 +05:30
committed by GitHub
parent 4c793c3c00
commit 5f40eee3fa
20 changed files with 543 additions and 654 deletions

View File

@ -338,6 +338,10 @@ pub enum PaymentAttemptUpdate {
error_message: Option<Option<String>>,
updated_by: String,
},
PaymentMethodDetailsUpdate {
payment_method_id: Option<String>,
updated_by: String,
},
VoidUpdate {
status: storage_enums::AttemptStatus,
cancellation_reason: Option<String>,