[Snippet rust]
```rust
fn get_setup_mandate(&self) -> Option<&MandateData> {
        self.setup_mandate.as_ref()
    }
```
Path: hyperswitch/crates/router/src/core/payments.rs :: get_setup_mandate (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/bankofamerica.rs :: get_request_body
- hyperswitch/crates/hyperswitch_connectors/src/connectors/checkbook.rs :: get_url
- hyperswitch/crates/hyperswitch_connectors/src/connectors/nmi.rs :: get_url
- hyperswitch/crates/router/tests/connectors/dummyconnector.rs :: get_name
- hyperswitch/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs :: try_from