feat(router): collect customer address details based on business profile config regardless of connector required fields (#5418)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Shankar Singh C
2024-08-22 17:09:14 +05:30
committed by GitHub
parent d3521e7e76
commit bda29cb1b5
18 changed files with 597 additions and 726 deletions

View File

@ -3060,16 +3060,30 @@
"description": "Whether to use the billing details passed when creating the intent as payment method billing",
"nullable": true
},
"collect_shipping_details_from_wallet_connector": {
"collect_shipping_details_from_wallet_connector_if_required": {
"type": "boolean",
"description": "A boolean value to indicate if customer shipping details needs to be collected from wallet connector (Eg. Apple Pay, Google Pay, etc.)",
"description": "A boolean value to indicate if customer shipping details needs to be collected from wallet\nconnector only if it is required field for connector (Eg. Apple Pay, Google Pay etc)",
"default": false,
"example": false,
"nullable": true
},
"collect_billing_details_from_wallet_connector": {
"collect_billing_details_from_wallet_connector_if_required": {
"type": "boolean",
"description": "A boolean value to indicate if customer billing details needs to be collected from wallet connector (Eg. Apple Pay, Google Pay, etc.)",
"description": "A boolean value to indicate if customer billing details needs to be collected from wallet\nconnector only if it is required field for connector (Eg. Apple Pay, Google Pay etc)",
"default": false,
"example": false,
"nullable": true
},
"always_collect_shipping_details_from_wallet_connector": {
"type": "boolean",
"description": "A boolean value to indicate if customer shipping details needs to be collected from wallet\nconnector irrespective of connector required fields (Eg. Apple pay, Google pay etc)",
"default": false,
"example": false,
"nullable": true
},
"always_collect_billing_details_from_wallet_connector": {
"type": "boolean",
"description": "A boolean value to indicate if customer billing details needs to be collected from wallet\nconnector irrespective of connector required fields (Eg. Apple pay, Google pay etc)",
"default": false,
"example": false,
"nullable": true
@ -3202,16 +3216,30 @@
],
"nullable": true
},
"collect_shipping_details_from_wallet_connector": {
"collect_shipping_details_from_wallet_connector_if_required": {
"type": "boolean",
"description": "A boolean value to indicate if customer shipping details needs to be collected from wallet connector (Eg. Apple Pay, Google Pay, etc.)",
"description": "A boolean value to indicate if customer shipping details needs to be collected from wallet\nconnector only if it is required field for connector (Eg. Apple Pay, Google Pay etc)",
"default": false,
"example": false,
"nullable": true
},
"collect_billing_details_from_wallet_connector": {
"collect_billing_details_from_wallet_connector_if_required": {
"type": "boolean",
"description": "A boolean value to indicate if customer billing details needs to be collected from wallet connector (Eg. Apple Pay, Google Pay, etc.)",
"description": "A boolean value to indicate if customer billing details needs to be collected from wallet\nconnector only if it is required field for connector (Eg. Apple Pay, Google Pay etc)",
"default": false,
"example": false,
"nullable": true
},
"always_collect_shipping_details_from_wallet_connector": {
"type": "boolean",
"description": "A boolean value to indicate if customer shipping details needs to be collected from wallet\nconnector irrespective of connector required fields (Eg. Apple pay, Google pay etc)",
"default": false,
"example": false,
"nullable": true
},
"always_collect_billing_details_from_wallet_connector": {
"type": "boolean",
"description": "A boolean value to indicate if customer billing details needs to be collected from wallet\nconnector irrespective of connector required fields (Eg. Apple pay, Google pay etc)",
"default": false,
"example": false,
"nullable": true