mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
refactor(connector): [Dlocal] remove default case handling (#2624)
This commit is contained in:
@ -157,7 +157,20 @@ impl TryFrom<&DlocalRouterData<&types::PaymentsAuthorizeRouterData>> for DlocalP
|
|||||||
};
|
};
|
||||||
Ok(payment_request)
|
Ok(payment_request)
|
||||||
}
|
}
|
||||||
_ => Err(errors::ConnectorError::NotImplemented("Payment Method".to_string()).into()),
|
api::PaymentMethodData::CardRedirect(_)
|
||||||
|
| api::PaymentMethodData::Wallet(_)
|
||||||
|
| api::PaymentMethodData::PayLater(_)
|
||||||
|
| api::PaymentMethodData::BankRedirect(_)
|
||||||
|
| api::PaymentMethodData::BankDebit(_)
|
||||||
|
| api::PaymentMethodData::BankTransfer(_)
|
||||||
|
| api::PaymentMethodData::Crypto(_)
|
||||||
|
| api::PaymentMethodData::MandatePayment
|
||||||
|
| api::PaymentMethodData::Reward
|
||||||
|
| api::PaymentMethodData::Upi(_)
|
||||||
|
| api::PaymentMethodData::Voucher(_)
|
||||||
|
| api::PaymentMethodData::GiftCard(_) => Err(errors::ConnectorError::NotImplemented(
|
||||||
|
crate::connector::utils::get_unimplemented_payment_method_error_message("Dlocal"),
|
||||||
|
))?,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user