[Snippet rust]
```rust
fn try_from(gift_card_data: &GiftCardData) -> Result<Self, Self::Error> {
        match gift_card_data {
            GiftCardData::Givex(_)
            | GiftCardData::PaySafeCard {}
            | GiftCardData::BhnCardNetwork(_) => Err(errors::ConnectorError::NotImplemented(
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs :: try_from (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/aci.rs :: build_request
- hyperswitch/crates/common_utils/src/id_type/merchant.rs :: get_max_auto_single_connector_payout_retries_enabled
- hyperswitch/crates/router/src/core/payments.rs :: get_mandate_connector
- hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs :: get_headers
- hyperswitch/crates/hyperswitch_connectors/src/utils.rs :: get_encoded_wallet_token