mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(business_profile): add field in profile for manual retry (#9266)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2196,6 +2196,9 @@ pub struct ProfileCreate {
|
||||
/// Time interval (in hours) for polling the connector to check dispute statuses
|
||||
#[schema(value_type = Option<i32>, example = 2)]
|
||||
pub dispute_polling_interval: Option<primitive_wrappers::DisputePollingIntervalInHours>,
|
||||
|
||||
/// Indicates if manual retry for payment is enabled or not
|
||||
pub is_manual_retry_enabled: Option<bool>,
|
||||
}
|
||||
|
||||
#[nutype::nutype(
|
||||
@ -2538,6 +2541,9 @@ pub struct ProfileResponse {
|
||||
|
||||
#[schema(value_type = Option<u32>, example = 2)]
|
||||
pub dispute_polling_interval: Option<primitive_wrappers::DisputePollingIntervalInHours>,
|
||||
|
||||
/// Indicates if manual retry for payment is enabled or not
|
||||
pub is_manual_retry_enabled: Option<bool>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
@ -2878,6 +2884,9 @@ pub struct ProfileUpdate {
|
||||
|
||||
#[schema(value_type = Option<u32>, example = 2)]
|
||||
pub dispute_polling_interval: Option<primitive_wrappers::DisputePollingIntervalInHours>,
|
||||
|
||||
/// Indicates if manual retry for payment is enabled or not
|
||||
pub is_manual_retry_enabled: Option<bool>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
|
||||
Reference in New Issue
Block a user