mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(refunds): update refunds filters (#4409)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -3576,9 +3576,11 @@ pub struct PaymentListFiltersV2 {
|
||||
pub authentication_type: Vec<enums::AuthenticationType>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
pub struct AmountFilter {
|
||||
/// The start amount to filter list of transactions which are greater than or equal to the start amount
|
||||
pub start_amount: Option<i64>,
|
||||
/// The end amount to filter list of transactions which are less than or equal to the end amount
|
||||
pub end_amount: Option<i64>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user