mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	refactor(business_profile): add is_connector_agnostic_mit_enabled in the business profile APIs (#4925)
				
					
				
			Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -938,6 +938,12 @@ pub struct BusinessProfileCreate { | ||||
|  | ||||
|     /// 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>, | ||||
|  | ||||
|     /// Indicates if the MIT (merchant initiated transaction) payments can be made connector | ||||
|     /// agnostic, i.e., MITs may be processed through different connector than CIT (customer | ||||
|     /// initiated transaction) based on the routing rules. | ||||
|     /// If set to `false`, MIT will go through the same connector as the CIT. | ||||
|     pub is_connector_agnostic_mit_enabled: Option<bool>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, ToSchema, Serialize)] | ||||
| @ -1016,6 +1022,12 @@ pub struct BusinessProfileResponse { | ||||
|  | ||||
|     /// 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>, | ||||
|  | ||||
|     /// Indicates if the MIT (merchant initiated transaction) payments can be made connector | ||||
|     /// agnostic, i.e., MITs may be processed through different connector than CIT (customer | ||||
|     /// initiated transaction) based on the routing rules. | ||||
|     /// If set to `false`, MIT will go through the same connector as the CIT. | ||||
|     pub is_connector_agnostic_mit_enabled: Option<bool>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, Deserialize, ToSchema, Serialize)] | ||||
| @ -1086,6 +1098,12 @@ pub struct BusinessProfileUpdate { | ||||
|  | ||||
|     /// 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>, | ||||
|  | ||||
|     /// Indicates if the MIT (merchant initiated transaction) payments can be made connector | ||||
|     /// agnostic, i.e., MITs may be processed through different connector than CIT (customer | ||||
|     /// initiated transaction) based on the routing rules. | ||||
|     /// If set to `false`, MIT will go through the same connector as the CIT. | ||||
|     pub is_connector_agnostic_mit_enabled: Option<bool>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, serde::Deserialize, serde::Serialize, PartialEq, ToSchema)] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shankar Singh C
					Shankar Singh C