GiftCardValidator

Validator class responsible for validating input fields in com.adyen.checkout.giftcard.GiftCardComponent.

Functions

Link copied to clipboard

Validates gift card expiry date.

Link copied to clipboard
abstract fun validateNumber(number: String): FieldState<String>

Validates gift card number.

Link copied to clipboard
abstract fun validatePin(pin: String): FieldState<String>

Validates gift card pin.