feat(business_profile): feature add a config to use billing as payment_method_billing (#4557)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-05-08 11:33:32 +05:30
committed by GitHub
parent 9e2d76bd10
commit 3e1c7eba49
46 changed files with 107 additions and 19 deletions

View File

@ -913,6 +913,9 @@ pub struct BusinessProfileCreate {
/// External 3DS authentication details
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
/// Whether to use the billing details passed when creating the intent as payment method billing
pub use_billing_as_payment_method_billing: Option<bool>,
}
#[derive(Clone, Debug, ToSchema, Serialize)]
@ -982,6 +985,9 @@ pub struct BusinessProfileResponse {
/// External 3DS authentication details
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
// Whether to use the billing details passed when creating the intent as payment method billing
pub use_billing_as_payment_method_billing: Option<bool>,
}
#[derive(Clone, Debug, Deserialize, ToSchema, Serialize)]
@ -1046,6 +1052,9 @@ pub struct BusinessProfileUpdate {
/// Merchant's config to support extended card info feature
pub extended_card_info_config: Option<ExtendedCardInfoConfig>,
// Whether to use the billing details passed when creating the intent as payment method billing
pub use_billing_as_payment_method_billing: Option<bool>,
}
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize, PartialEq, ToSchema)]