mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	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:
		| @ -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>, | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shankar Singh C
					Shankar Singh C