[Snippet rust]
```rust
fn get_attempts(&self) -> Option<Vec<storage::PaymentAttempt>> {
        self.attempts.clone()
    }
```
Path: hyperswitch/crates/router/src/core/payments.rs :: get_attempts (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/celero.rs :: get_error_response
- hyperswitch/crates/router/src/connector/utils.rs :: get_billing_first_name
- hyperswitch/crates/router/src/core/errors/utils.rs :: to_redis_failed_response
- hyperswitch/crates/router/src/core/payments/operations/payment_create_intent.rs :: to_get_tracker
- hyperswitch/crates/router/tests/connectors/ebanx.rs :: should_fail_for_refund_amount_higher_than_payment_amount