mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
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:
@ -1433,6 +1433,13 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
error_message,
|
||||
updated_by,
|
||||
},
|
||||
Self::PaymentMethodDetailsUpdate {
|
||||
payment_method_id,
|
||||
updated_by,
|
||||
} => DieselPaymentAttemptUpdate::PaymentMethodDetailsUpdate {
|
||||
payment_method_id,
|
||||
updated_by,
|
||||
},
|
||||
Self::ConfirmUpdate {
|
||||
amount,
|
||||
currency,
|
||||
@ -1807,6 +1814,13 @@ impl DataModelExt for PaymentAttemptUpdate {
|
||||
error_message,
|
||||
updated_by,
|
||||
},
|
||||
DieselPaymentAttemptUpdate::PaymentMethodDetailsUpdate {
|
||||
payment_method_id,
|
||||
updated_by,
|
||||
} => Self::PaymentMethodDetailsUpdate {
|
||||
payment_method_id,
|
||||
updated_by,
|
||||
},
|
||||
DieselPaymentAttemptUpdate::ResponseUpdate {
|
||||
status,
|
||||
connector,
|
||||
|
||||
Reference in New Issue
Block a user