1 2 3 4 5 6 7 8 9 10 11 12 13 14 15package io.hyperswitch.paymentsheet /** * Callback that is invoked when the customer's [PaymentOption] selection changes. */ fun interface PaymentOptionCallback { /** * @param paymentOption The new [PaymentOption] selection. If null, the customer has not yet * selected a [PaymentOption]. The customer can only complete the transaction if this value is * not null. */ fun onPaymentOption(paymentOption: PaymentOption?) }