PaymentsUtil
object PaymentsUtil
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getPaymentDataRequest(price: BigDecimal, countryCode: String, currency: String, googlePayOptions: GooglePayOptions, supportedCardSchemes: List<CardScheme>?): JSONObject?
An object describing information requested in a Google Pay payment sheet
Link copied to clipboard
fun isReadyToPayRequest(googlePayOptions: GooglePayOptions, supportedCardSchemes: List<CardScheme>?): JSONObject?
An object describing accepted forms of payment by your app, used to determine a viewer's readiness to pay.