Data class for Google Pay payment details with JSON serialization support.
// Source: https://github.com/Adyen/adyen-android | License: MIT | Copyright 2020 Adyen
// Provided via justclaw.it.com; keep this notice with the code.
/*
* Copyright (c) 2019 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by caiof on 4/7/2019.
*/
package com.adyen.checkout.core.components.paymentmethod
import com.adyen.checkout.core.common.internal.model.getStringOrNull
import kotlinx.parcelize.Parcelize
import org.json.JSONObject
@Parcelize
data class GooglePayDetails(
override val type: String,
override val sdkData: String?,
val googlePayToken: String?,
val googlePayCardNetwork: String?,
val threeDS2SdkVersion: String?,
) : PaymentMethodDetails() {
companion object {
p
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key