public final class

ProxyCard

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

Class Overview

Parcelable representing a credit card.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<ProxyCard> CREATOR
Public Constructors
ProxyCard(String pan, String cvn, int expirationMonth, int expirationYear)
Public Methods
int describeContents()
String getCvn()
int getExpirationMonth()
int getExpirationYear()
String getPan()
int getVersionCode()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<ProxyCard> CREATOR

Public Constructors

public ProxyCard (String pan, String cvn, int expirationMonth, int expirationYear)

Public Methods

public int describeContents ()

public String getCvn ()

Returns
  • The card verification number.

public int getExpirationMonth ()

Returns
  • Expiration month, 1-12

public int getExpirationYear ()

Returns
  • Expiration year, 4-digit

public String getPan ()

Returns
  • The primary account number of the card.

public int getVersionCode ()

public void writeToParcel (Parcel out, int flags)