[Snippet rust]
```rust
pub async fn perform_calculate_workflow(
```
Path: hyperswitch/crates/router/src/core/revenue_recovery.rs :: perform_calculate_workflow (function, crate=router)

Negatives:
- hyperswitch/crates/test_utils/tests/connectors/aci_ui.rs :: should_make_aci_interac_payment_test
- hyperswitch/crates/storage_impl/src/customers.rs :: find_customer_by_customer_id_merchant_id
- hyperswitch/crates/api_models/src/events/routing.rs :: get_api_event_type
- hyperswitch/crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs :: get_error_response
- hyperswitch/crates/router/tests/connectors/fiuu.rs :: should_void_authorized_payment