Package-level declarations

Types

Link copied to clipboard

Configuration class for Address Form in Card Component. This class can be used define the visibility of the address form.

Link copied to clipboard
data class BinLookupData(val brand: String, val paymentMethodVariant: String?, val isReliable: Boolean)

Class that contains data about the entered card number.

Link copied to clipboard
data class CardBrand(val txVariant: String) : Parcelable

This class represents a card scheme. The constructor allows for creating a CardBrand with a scheme that is not in the predefined list of CardType. Can be used to configure the supported card schemes with CardConfiguration.Builder.setSupportedCardTypes.

Link copied to clipboard
Link copied to clipboard
data class CardComponentState(val data: PaymentComponentData<CardPaymentMethod>, val isInputValid: Boolean, val isReady: Boolean, val cardBrand: CardBrand?, val binValue: String, val lastFourDigits: String?) : PaymentComponentState<CardPaymentMethod>

Represents the state of CardComponent.

Link copied to clipboard
Link copied to clipboard

Predefined list of card schemes. Can be used to configure the supported card schemes with CardConfiguration.Builder.setSupportedCardTypes.

Link copied to clipboard
data class InstallmentConfiguration(val defaultOptions: InstallmentOptions.DefaultInstallmentOptions? = null, val cardBasedOptions: List<InstallmentOptions.CardBasedInstallmentOptions> = emptyList(), val showInstallmentAmount: Boolean = false) : Parcelable

Configuration class for Installments in Card Component. This class can be used to define installment options for all cards or specific CardBrand. defaultOptions and cardBasedOptions can be combined together. In that case InstallmentOptions from cardBasedOptions will override the option defined in defaultOptions.

Link copied to clipboard

InstallmentOptions is used for defining the details of installment options.

Link copied to clipboard

Used in CardConfiguration.Builder.kcpAuthVisibility to show or hide the KCP authentication input field.

Link copied to clipboard

Functions

Link copied to clipboard