Google Pay Context
A drop-in class that presents a Google Pay sheet to collect a customer's payment details. When successful, will return an IPaymentMethod via Result.Completed.paymentMethod
Constructors
GooglePayContext
Link copied to clipboard
fun GooglePayContext(activity: ComponentActivity, readyCallback: ReadyCallback, resultCallback: ResultCallback, merchantName: String? = null, merchantCountryCode: String? = null)
Content copied to clipboard
Constructor for using this class from an Activity.
GooglePayContext
Link copied to clipboard
fun GooglePayContext(fragment: Fragment, readyCallback: ReadyCallback, resultCallback: ResultCallback, merchantName: String? = null, merchantCountryCode: String? = null)
Content copied to clipboard
Constructor for using this class from a Fragment.