mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
feat: list for dynamic routing (#8111)
Co-authored-by: Sarthak Soni <sarthakasoni@gmail.com> Co-authored-by: Gaurav Rawat <104276743+GauravRawat369@users.noreply.github.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Chethan Rao <70657455+Chethan-rao@users.noreply.github.com>
This commit is contained in:
@ -287,7 +287,7 @@ impl TryFrom<StripePaymentIntentRequest> for payments::PaymentsRequest {
|
||||
|
||||
let routing = routable_connector
|
||||
.map(|connector| {
|
||||
api_models::routing::RoutingAlgorithm::Single(Box::new(
|
||||
api_models::routing::StaticRoutingAlgorithm::Single(Box::new(
|
||||
api_models::routing::RoutableConnectorChoice {
|
||||
choice_kind: api_models::routing::RoutableChoiceKind::FullStruct,
|
||||
connector,
|
||||
|
||||
@ -183,7 +183,7 @@ impl TryFrom<StripeSetupIntentRequest> for payments::PaymentsRequest {
|
||||
|
||||
let routing = routable_connector
|
||||
.map(|connector| {
|
||||
api_models::routing::RoutingAlgorithm::Single(Box::new(
|
||||
api_models::routing::StaticRoutingAlgorithm::Single(Box::new(
|
||||
api_models::routing::RoutableConnectorChoice {
|
||||
choice_kind: api_models::routing::RoutableChoiceKind::FullStruct,
|
||||
connector,
|
||||
|
||||
Reference in New Issue
Block a user