PurchaseButtonModel

Constructors

Link copied to clipboard
constructor(application: Application)

Properties

Link copied to clipboard
Link copied to clipboard
val loadingState: StateFlow<LoadingState>
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard
open fun <T : Application> getApplication(): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun makePayment(amount: Double, paymentMethod: PaymentMethod, transactionType: TransactionType, clientTransactionId: String? = null, merchantReference: String? = null, listener: Response<Transaction>? = null)
Link copied to clipboard
fun parseError(exception: Throwable?): String
Link copied to clipboard
Link copied to clipboard
fun updateAmount(amount: Double)
Link copied to clipboard
fun updatePaymentMethod(paymentMethod: PaymentMethod?)
Link copied to clipboard
fun updateShowAddCard(showAddCard: Boolean)