GooglePayHelper

class GooglePayHelper(val project: Project, val context: Context)

Class for interfacing with google pay

Constructors

Link copied to clipboard
constructor(project: Project, context: Context)

Properties

Link copied to clipboard
val allowedPaymentMethods: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Checks if google pay is available on the snabble backend

Link copied to clipboard
fun isReadyToPay(isReadyToPayListener: IsReadyToPayListener)

Checks if google pay is ready to make a payment

Link copied to clipboard
fun onResult(resultCode: Status, paymentData: PaymentData?)
Link copied to clipboard
fun requestPayment(priceToPay: Int): Boolean

Starts a payment request with google pay

Link copied to clipboard