[Snippet rust]
```rust
pub fn get_novalnet_dispute_status(status: WebhookEventType) -> WebhookDisputeStatus {
    match status {
        WebhookEventType::Chargeback => WebhookDisputeStatus::DisputeOpened,
        WebhookEventType::Credit => WebhookDisputeStatus::DisputeWon,
        _ => WebhookDisputeStatus::Unknown,
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs :: get_novalnet_dispute_status (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/forte.rs :: get_error_response
- hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpay.rs :: get_error_response
- hyperswitch/crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs :: get_request_body
- hyperswitch/crates/router/src/connector/utils.rs :: get_recurring_mandate_payment_data
- hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs :: get_router_return_url