public final class

PaymentMethodToken

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.wallet.PaymentMethodToken

Class Overview

Parcelable representing payment method token.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<PaymentMethodToken> CREATOR
Public Methods
int getPaymentMethodTokenizationType()
String getToken()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<PaymentMethodToken> CREATOR

Public Methods

public int getPaymentMethodTokenizationType ()

Returns
int payment method tokenization type used to create this token. See WalletConstants.PaymentMethodTokenizationType for a list of supported tokenization types.

public String getToken ()

Returns
String token for the selected payment method.

public void writeToParcel (Parcel out, int flags)

Parameters
out Parcel
flags int