[Snippet rust]
```rust
pub async fn from_origin(
```
Path: hyperswitch/crates/router/src/types/domain/user/decision_manager.rs :: from_origin (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/utils.rs :: get_currency
- hyperswitch/crates/hyperswitch_connectors/src/connectors/billwerk.rs :: get_error_response
- hyperswitch/crates/hyperswitch_connectors/src/connectors/moneris.rs :: build_error_response
- hyperswitch/crates/router/src/routes/payment_methods.rs :: initiate_pm_collect_link_flow
- hyperswitch/crates/storage_impl/src/tokenization.rs :: update_tokenization_record