Skip to content

Commit

Permalink
Merge branch 'refactor_dynamic_routing' of https://github.com/juspay/…
Browse files Browse the repository at this point in the history
…hyperswitch into refactor_dynamic_routing
  • Loading branch information
prajjwalkumar17 committed Dec 23, 2024
2 parents 7407532 + fa9df1b commit 7336ab5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/common_enums/src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1307,10 +1307,7 @@ impl IntentStatus {
/// Indicates whether the payment intent is in terminal state or not
pub fn is_in_terminal_state(self) -> bool {
match self {
Self::Succeeded |
Self::Failed |
Self::Cancelled |
Self::PartiallyCaptured => true,
Self::Succeeded | Self::Failed | Self::Cancelled | Self::PartiallyCaptured => true,
Self::Processing
| Self::RequiresCustomerAction
| Self::RequiresMerchantAction
Expand Down

0 comments on commit 7336ab5

Please sign in to comment.