GooglePayUtil

fun GooglePayUtil(activity: Activity, googlePayRequest: GooglePayRequest, googlePayEnvironment: GooglePayEnvironment = GooglePayEnvironment.PRODUCTION, customRequestCode: Int? = null)

Parameters

activity

activity used to receive onActivityResult

googlePayRequest

information about price, your store name and your merchantId in Tpay system

googlePayEnvironment

google pay environment that you want to use

customRequestCode

alternative request code that will be used to manage Google Pay data