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:
Narayan Bhat
2024-09-02 09:21:33 +05:30
committed by GitHub
parent 4b0564e0e8
commit 7296cceba3
150 changed files with 880 additions and 803 deletions

View File

@ -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