mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
feat(payments): add PaymentListFilterConstraints and payments_list_by_filter endpoint for v2 (#8794)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -65,12 +65,12 @@ impl PaymentAttemptInterface for MockDb {
|
||||
&self,
|
||||
_merchant_id: &id_type::MerchantId,
|
||||
_active_attempt_ids: &[String],
|
||||
_connector: Option<api_models::enums::Connector>,
|
||||
_payment_method_type: Option<common_enums::PaymentMethod>,
|
||||
_payment_method_subtype: Option<common_enums::PaymentMethodType>,
|
||||
_authentication_type: Option<common_enums::AuthenticationType>,
|
||||
_merchanat_connector_id: Option<id_type::MerchantConnectorAccountId>,
|
||||
_card_network: Option<storage_enums::CardNetwork>,
|
||||
_connector: Option<Vec<api_models::enums::Connector>>,
|
||||
_payment_method_type: Option<Vec<common_enums::PaymentMethod>>,
|
||||
_payment_method_subtype: Option<Vec<common_enums::PaymentMethodType>>,
|
||||
_authentication_type: Option<Vec<common_enums::AuthenticationType>>,
|
||||
_merchant_connector_id: Option<Vec<id_type::MerchantConnectorAccountId>>,
|
||||
_card_network: Option<Vec<storage_enums::CardNetwork>>,
|
||||
_storage_scheme: storage_enums::MerchantStorageScheme,
|
||||
) -> CustomResult<i64, StorageError> {
|
||||
Err(StorageError::MockDbError)?
|
||||
|
||||
Reference in New Issue
Block a user