mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
refactor(payment_id): add payment id domain type (#5738)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -300,7 +300,7 @@ impl FraudCheckInterface for KafkaStore {
|
||||
}
|
||||
async fn find_fraud_check_by_payment_id(
|
||||
&self,
|
||||
payment_id: String,
|
||||
payment_id: id_type::PaymentId,
|
||||
merchant_id: id_type::MerchantId,
|
||||
) -> CustomResult<FraudCheck, StorageError> {
|
||||
let frm = self
|
||||
@ -318,7 +318,7 @@ impl FraudCheckInterface for KafkaStore {
|
||||
}
|
||||
async fn find_fraud_check_by_payment_id_if_present(
|
||||
&self,
|
||||
payment_id: String,
|
||||
payment_id: id_type::PaymentId,
|
||||
merchant_id: id_type::MerchantId,
|
||||
) -> CustomResult<Option<FraudCheck>, StorageError> {
|
||||
let frm = self
|
||||
|
||||
Reference in New Issue
Block a user