feat(router): add payments manual-update api (#5045)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2024-06-26 19:10:09 +05:30
committed by GitHub
parent 2e1167acbc
commit ed021c1d99
13 changed files with 292 additions and 8 deletions

View File

@ -1748,6 +1748,23 @@ impl DataModelExt for PaymentAttemptUpdate {
authentication_id,
updated_by,
},
Self::ManualUpdate {
status,
error_code,
error_message,
error_reason,
updated_by,
unified_code,
unified_message,
} => DieselPaymentAttemptUpdate::ManualUpdate {
status,
error_code,
error_message,
error_reason,
updated_by,
unified_code,
unified_message,
},
}
}
@ -2079,6 +2096,23 @@ impl DataModelExt for PaymentAttemptUpdate {
authentication_id,
updated_by,
},
DieselPaymentAttemptUpdate::ManualUpdate {
status,
error_code,
error_message,
error_reason,
updated_by,
unified_code,
unified_message,
} => Self::ManualUpdate {
status,
error_code,
error_message,
error_reason,
updated_by,
unified_code,
unified_message,
},
}
}
}