paymentmethod/PaymentMethodTypes.kt

adyen-android · core/src/main/java/com/adyen/checkout/core/components/paymentmethod/PaymentMethodTypes.kt · kotlin · MIT
payments

Defines constant strings for all supported Adyen payment methods to map API responses and check compatibility.

// Source: https://github.com/Adyen/adyen-android | License: MIT | Copyright 2020 Adyen
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2025 Adyen N.V.
 *
 * This file is open source and available under the MIT license. See the LICENSE file for more info.
 *
 * Created by ozgur on 12/5/2025.
 */

package com.adyen.checkout.core.components.paymentmethod

/**
 * Helper class with a list of all the currently supported Payment Methods on Components and Drop-In.
 */
object PaymentMethodTypes {

    // Placeholder value if the type is not found.
    const val UNKNOWN = "unknown"

    // Type of the payment method as received by the paymentMethods/ API
    const val ACH = "ach"
    const val BACS = "directdebit_GB"
    const val BCMC = "bcmc"
    const val BLI

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key