[Snippet rust]
```rust
fn set_payment_intent(&mut self, payment_intent: storage::PaymentIntent) {
        self.payment_intent = payment_intent;
    }
```
Path: hyperswitch/crates/router/src/core/payments.rs :: set_payment_intent (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs :: from
- hyperswitch/crates/hyperswitch_connectors/src/utils.rs :: convert_setup_mandate_router_data_to_authorize_router_data
- hyperswitch/crates/router/src/db/mandate.rs :: find_mandate_by_merchant_id_connector_mandate_id
- hyperswitch/crates/router/src/connector/utils.rs :: get_order_details
- hyperswitch/crates/router/src/routes/customers.rs :: get_customer_mandates