refactor(business_profile): add collect_shipping_details_from_wallet_connector in the business profile response (#4892)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Shankar Singh C
2024-06-05 21:26:08 +05:30
committed by GitHub
parent 4df84e913f
commit 377d6eacd3
3 changed files with 13 additions and 3 deletions

View File

@ -936,7 +936,7 @@ pub struct BusinessProfileCreate {
/// Whether to use the billing details passed when creating the intent as payment method billing
pub use_billing_as_payment_method_billing: Option<bool>,
/// A boolean value to indicate if cusomter shipping details needs to be sent for wallets payments
/// A boolean value to indicate if customer shipping details needs to be sent for wallets payments
pub collect_shipping_details_from_wallet_connector: Option<bool>,
}
@ -1013,6 +1013,9 @@ pub struct BusinessProfileResponse {
/// Merchant's config to support extended card info feature
pub extended_card_info_config: Option<ExtendedCardInfoConfig>,
/// A boolean value to indicate if customer shipping details needs to be sent for wallets payments
pub collect_shipping_details_from_wallet_connector: Option<bool>,
}
#[derive(Clone, Debug, Deserialize, ToSchema, Serialize)]
@ -1081,7 +1084,7 @@ pub struct BusinessProfileUpdate {
// Whether to use the billing details passed when creating the intent as payment method billing
pub use_billing_as_payment_method_billing: Option<bool>,
/// A boolean value to indicate if cusomter shipping details needs to be sent for wallets payments
/// A boolean value to indicate if customer shipping details needs to be sent for wallets payments
pub collect_shipping_details_from_wallet_connector: Option<bool>,
}