mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(core): Make installment_payment_enabled,recurring_enabled Optional (#8201)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2116,6 +2116,7 @@ pub struct ProfileCreate {
|
||||
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
|
||||
|
||||
/// Indicates if the redirection has to open in the iframe
|
||||
#[schema(example = false)]
|
||||
pub is_iframe_redirection_enabled: Option<bool>,
|
||||
|
||||
/// Indicates if pre network tokenization is enabled or not
|
||||
@ -2254,6 +2255,7 @@ pub struct ProfileCreate {
|
||||
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
|
||||
|
||||
/// Indicates if the redirection has to open in the iframe
|
||||
#[schema(example = false)]
|
||||
pub is_iframe_redirection_enabled: Option<bool>,
|
||||
|
||||
/// Indicates if external vault is enabled or not.
|
||||
@ -2424,6 +2426,10 @@ pub struct ProfileResponse {
|
||||
/// Indicates if pre network tokenization is enabled or not
|
||||
#[schema(default = false, example = false)]
|
||||
pub is_pre_network_tokenization_enabled: bool,
|
||||
|
||||
/// Indicates if the redirection has to open in the iframe
|
||||
#[schema(example = false)]
|
||||
pub is_iframe_redirection_enabled: Option<bool>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
@ -2566,6 +2572,7 @@ pub struct ProfileResponse {
|
||||
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
|
||||
|
||||
/// Indicates if the redirection has to open in the iframe
|
||||
#[schema(example = false)]
|
||||
pub is_iframe_redirection_enabled: Option<bool>,
|
||||
|
||||
/// Indicates if external vault is enabled or not.
|
||||
@ -2723,6 +2730,7 @@ pub struct ProfileUpdate {
|
||||
pub merchant_business_country: Option<api_enums::CountryAlpha2>,
|
||||
|
||||
/// Indicates if the redirection has to open in the iframe
|
||||
#[schema(example = false)]
|
||||
pub is_iframe_redirection_enabled: Option<bool>,
|
||||
|
||||
/// Indicates if pre network tokenization is enabled or not
|
||||
|
||||
Reference in New Issue
Block a user