Skip to content

Commit

Permalink
Merge pull request #1761 from Adyen/chore/review-payment-method-types
Browse files Browse the repository at this point in the history
Review payment method types
  • Loading branch information
OscarSpruit authored Aug 23, 2024
2 parents 1089910 + c6610b3 commit 357ea11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ object PaymentMethodTypes {
MOLPAY_MALAYSIA,
MOLPAY_THAILAND,
MOLPAY_VIETNAM,
MULTIBANCO,
ONLINE_BANKING_CZ,
ONLINE_BANKING_PL,
ONLINE_BANKING_SK,
Expand All @@ -133,8 +134,8 @@ object PaymentMethodTypes {
SEPA,
TWINT,
UPI,
UPI_INTENT,
UPI_COLLECT,
UPI_INTENT,
UPI_QR,
WECHAT_PAY_SDK,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ internal class DropInViewModel(
PaymentMethodTypes.GOOGLE_PAY_LEGACY,
PaymentMethodTypes.IDEAL,
PaymentMethodTypes.MULTIBANCO,
PaymentMethodTypes.PAY_BY_BANK,
PaymentMethodTypes.PAY_NOW,
PaymentMethodTypes.PIX,
PaymentMethodTypes.PROMPT_PAY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ internal class DropInViewModelTest(
createPayPaymentMethodsApiResponse(listOf(PaymentMethodTypes.MULTIBANCO)),
false,
),
arguments(
true,
createPayPaymentMethodsApiResponse(listOf(PaymentMethodTypes.PAY_BY_BANK)),
false,
),
arguments(
true,
createPayPaymentMethodsApiResponse(listOf(PaymentMethodTypes.PAY_NOW)),
Expand Down

0 comments on commit 357ea11

Please sign in to comment.