[Snippet rust]
```rust
fn get_payment_intent_profile_id(&self) -> Option<&id_type::ProfileId> {
        Some(&self.payment_intent.profile_id)
    }
```
Path: hyperswitch/crates/router/src/core/payments.rs :: get_payment_intent_profile_id (function, crate=router)

Negatives:
- hyperswitch/crates/router/src/core/payment_methods/transformers.rs :: foreign_from
- hyperswitch/crates/hyperswitch_connectors/src/connectors/iatapay.rs :: build_request
- hyperswitch/crates/router/tests/connectors/utils.rs :: make_payment
- hyperswitch/crates/hyperswitch_connectors/src/connectors/trustpayments.rs :: get_auth_header
- hyperswitch/crates/router/src/types/storage/refund.rs :: get_refunds_count