GooglePay

@Serializable
data class GooglePay(val walletToken: String? = null) : PaymentMethod(source)

A data class representing a credit card.

Constructors

Link copied to clipboard
constructor(walletToken: String? = null)

Properties

Link copied to clipboard

The full com.google.android.gms.wallet.PaymentData response provided by Google Pay converted to a string through toString

Functions

Link copied to clipboard
open override fun toJson(): JsonObject

Converts the GooglePay object to a JsonObject.