GooglePayRequest

class GooglePayRequest(price: Double, merchantName: String, merchantId: String) : JSONObject

Class responsible for creating JSON object that will be used to open Google Pay

Parameters

price

final price of transaction

merchantName

your store name

merchantId

your merchant id in Tpay system

Constructors

Link copied to clipboard
fun GooglePayRequest(price: Double, merchantName: String, merchantId: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun accumulate(p0: String, p1: Any): JSONObject
Link copied to clipboard
open fun append(p0: String, p1: Any): JSONObject
Link copied to clipboard
open operator fun get(p0: String): Any
Link copied to clipboard
open fun getBoolean(p0: String): Boolean
Link copied to clipboard
open fun getDouble(p0: String): Double
Link copied to clipboard
open fun getInt(p0: String): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getLong(p0: String): Long
Link copied to clipboard
open fun getString(p0: String): String
Link copied to clipboard
open fun has(p0: String): Boolean
Link copied to clipboard
open fun isNull(p0: String): Boolean
Link copied to clipboard
Link copied to clipboard
open fun length(): Int
Link copied to clipboard
open fun names(): JSONArray
Link copied to clipboard
open fun opt(p0: String): Any
Link copied to clipboard
open fun optBoolean(p0: String): Boolean
open fun optBoolean(p0: String, p1: Boolean): Boolean
Link copied to clipboard
open fun optDouble(p0: String): Double
open fun optDouble(p0: String, p1: Double): Double
Link copied to clipboard
open fun optInt(p0: String): Int
open fun optInt(p0: String, p1: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun optLong(p0: String): Long
open fun optLong(p0: String, p1: Long): Long
Link copied to clipboard
open fun optString(p0: String): String
open fun optString(p0: String, p1: String): String
Link copied to clipboard
open fun put(p0: String, p1: Any): JSONObject
open fun put(p0: String, p1: Boolean): JSONObject
open fun put(p0: String, p1: Double): JSONObject
open fun put(p0: String, p1: Int): JSONObject
open fun put(p0: String, p1: Long): JSONObject
Link copied to clipboard
open fun putOpt(p0: String, p1: Any): JSONObject
Link copied to clipboard
open fun remove(p0: String): Any
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
open fun toString(p0: Int): String

Extensions

Link copied to clipboard