isReadyToPay

suspend fun isReadyToPay(isReadyToPayRequestJson: JSONObject): Boolean

Allows to check Google Pay API readiness before showing the Google Pay button. Follow tutorial to create isReadyToPayRequestJson.