Google Payment Data
data class GooglePaymentData(val token: String, val description: String, val cardType: CardBrand, val cardDetails: String, val lastFour: String, val billingAddress: Address?, val email: String, val name: String, val phoneNumber: String) : Parcelable
Class to represent Google Pay payment data
Note: This class represents a merger of PaymentData and PaymentMethodData response objects from the Google Pay API
Constructors
Properties
Link copied to clipboard
The billing address associated with the payment method, if Google Pay was configured to return address data.
Link copied to clipboard
The details about the card. This is commonly the last four digits of the payment account number.
Link copied to clipboard
User-facing message to describe the payment method that funds this transaction.
Link copied to clipboard
The phone number associated with the transaction