Skip to content

Commit

Permalink
feat(ecommerce-method-api): CHK-2841 update methodManagement enum dom…
Browse files Browse the repository at this point in the history
…ain (#2027)

* update methodManagement enum domain

* add description for all payment method management type

* format text

* add space for

---------

Co-authored-by: Gianluca Ciuffa <[email protected]>
Co-authored-by: Gianluca Ciuffa <[email protected]>
Co-authored-by: Simone infante <[email protected]>
  • Loading branch information
4 people authored May 23, 2024
1 parent 72c05e0 commit e217070
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2477,11 +2477,13 @@
},
"PaymentMethodManagementType": {
"type": "string",
"description": "Payment method management type",
"description": "Describes how to manage the payment method authorization flow in wallet and eCommerce domain:\n- REDIRECT if it must be managed with a redirect flow;\n- ONBOARDABLE if it must be managed with NPG and it is possible to save the payment method in the wallet, but also guest payment is accepted;\n- NOT_ONBOARDABLE if it must be managed with NPG but the method cannot be saved, only guest payment is accepted;\n- ONBOARDABLE_ONLY if it must be managed with NPG and it is mandatory to save the payment method in the wallet to use it. Guest payment isn't accepted;\n- ONBORDABLE_WITH_PAYMENT if it must be managed with NPG and it is possible to save it, to use it as guest payment, and to onboard it during the payment;",
"enum": [
"ONBOARDABLE",
"NOT_ONBOARDABLE",
"REDIRECT"
"REDIRECT",
"ONBOARDABLE_ONLY",
"ONBOARDABLE_WITH_PAYMENT"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1801,11 +1801,13 @@
},
"PaymentMethodManagementType": {
"type": "string",
"description": "Payment method management type",
"description": "Describes how to manage the payment method authorization flow in wallet and eCommerce domain:\n- REDIRECT if it must be managed with a redirect flow;\n- ONBOARDABLE if it must be managed with NPG and it is possible to save the payment method in the wallet, but also guest payment is accepted;\n- NOT_ONBOARDABLE if it must be managed with NPG but the method cannot be saved, only guest payment is accepted;\n- ONBOARDABLE_ONLY if it must be managed with NPG and it is mandatory to save the payment method in the wallet to use it. Guest payment isn't accepted;\n- ONBORDABLE_WITH_PAYMENT if it must be managed with NPG and it is possible to save it, to use it as guest payment, and to onboard it during the payment;",
"enum": [
"ONBOARDABLE",
"NOT_ONBOARDABLE",
"REDIRECT"
"REDIRECT",
"ONBOARDABLE_ONLY",
"ONBOARDABLE_WITH_PAYMENT"
]
},
"NewSessionTokenResponse": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -946,11 +946,13 @@
},
"PaymentMethodManagementType": {
"type": "string",
"description": "Payment method management type",
"description": "Describes how to manage the payment method authorization flow in wallet and eCommerce domain:\n- REDIRECT if it must be managed with a redirect flow;\n- ONBOARDABLE if it must be managed with NPG and it is possible to save the payment method in the wallet, but also guest payment is accepted;\n- NOT_ONBOARDABLE if it must be managed with NPG but the method cannot be saved, only guest payment is accepted;\n- ONBOARDABLE_ONLY if it must be managed with NPG and it is mandatory to save the payment method in the wallet to use it. Guest payment isn't accepted;\n- ONBORDABLE_WITH_PAYMENT if it must be managed with NPG and it is possible to save it, to use it as guest payment, and to onboard it during the payment;",
"enum": [
"ONBOARDABLE",
"NOT_ONBOARDABLE",
"REDIRECT"
"REDIRECT",
"ONBOARDABLE_ONLY",
"ONBOARDABLE_WITH_PAYMENT"
]
},
"CreateSessionResponse": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -935,11 +935,13 @@
},
"PaymentMethodManagementType": {
"type": "string",
"description": "Payment method management type",
"description": "Describes how to manage the payment method authorization flow in wallet and eCommerce domain:\n- REDIRECT if it must be managed with a redirect flow;\n- ONBOARDABLE if it must be managed with NPG and it is possible to save the payment method in the wallet, but also guest payment is accepted;\n- NOT_ONBOARDABLE if it must be managed with NPG but the method cannot be saved, only guest payment is accepted;\n- ONBOARDABLE_ONLY if it must be managed with NPG and it is mandatory to save the payment method in the wallet to use it. Guest payment isn't accepted;\n- ONBORDABLE_WITH_PAYMENT if it must be managed with NPG and it is possible to save it, to use it as guest payment, and to onboard it during the payment;",
"enum": [
"ONBOARDABLE",
"NOT_ONBOARDABLE",
"REDIRECT"
"REDIRECT",
"ONBOARDABLE_ONLY",
"ONBOARDABLE_WITH_PAYMENT"
]
},
"Range": {
Expand Down

0 comments on commit e217070

Please sign in to comment.