POGooglePayPaymentData

@JsonClass(generateAdapter = true)
data class POGooglePayPaymentData(val apiVersion: Int, val apiVersionMinor: Int, val paymentMethodData: POGooglePayPaymentData.PaymentMethodData, val email: String?, val shippingAddress: POGooglePayPaymentData.Address?)

Corresponds to Google Pay PaymentData.

Constructors

Link copied to clipboard
constructor(apiVersion: Int, apiVersionMinor: Int, paymentMethodData: POGooglePayPaymentData.PaymentMethodData, email: String?, shippingAddress: POGooglePayPaymentData.Address?)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Address(val name: String, val postalCode: String, val countryCode: String, val phoneNumber: String?, val address1: String, val address2: String, val address3: String, val locality: String, val administrativeArea: String, val sortingCode: String)

Corresponds to Google Pay Address.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AssuranceDetailsSpecifications(val accountVerified: Boolean, val cardHolderAuthenticated: Boolean)

Corresponds to Google Pay AssuranceDetailsSpecifications.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class CardInfo(val cardDetails: String, val assuranceDetails: POGooglePayPaymentData.AssuranceDetailsSpecifications, val cardNetwork: String, val billingAddress: POGooglePayPaymentData.Address?)

Corresponds to Google Pay CardInfo.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class PaymentMethodData(val type: String, val description: String, val info: POGooglePayPaymentData.CardInfo, val tokenizationData: POGooglePayPaymentData.PaymentMethodTokenizationData)

Corresponds to Google Pay PaymentMethodData.

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class PaymentMethodTokenizationData(val type: String, val token: String?)

Corresponds to Google Pay PaymentMethodTokenizationData.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard