FullWallet | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Inherited Constants | Fields | Methods | Inherited Methods | [Expand All]
public final class

# FullWallet

extends Object
implements SafeParcelable

java.lang.Object
↳ | com.google.android.gms.wallet.FullWallet

## Class Overview

Parcelable representing a full wallet response.

## Summary

[Expand] Inherited Constants
From interface android.os.Parcelable
int | CONTENTS_FILE_DESCRIPTOR |
int | PARCELABLE_WRITE_RETURN_VALUE |
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
String | NULL |

Fields
public static final Creator<FullWallet> | CREATOR |

Public Methods
int | describeContents()
Address | getBillingAddress() This method is deprecated. Use `getBuyerBillingAddress()` instead.
UserAddress | getBuyerBillingAddress()
UserAddress | getBuyerShippingAddress()
String | getEmail()
String | getGoogleTransactionId()
InstrumentInfo[] | getInstrumentInfos() Returns an array of finer grained details about the instruments used in this Google Wallet transaction.
String | getMerchantTransactionId()
String[] | getPaymentDescriptions() Returns an array of strings used for user-facing messaging about payment instruments used for funding this Google Wallet transaction.
ProxyCard | getProxyCard()
Address | getShippingAddress() This method is deprecated. Use `getBuyerShippingAddress()` instead.
int | getVersionCode()
void | writeToParcel(Parcel out, int flags)

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
From interface android.os.Parcelable
abstract int | describeContents()
abstract void | writeToParcel(Parcel arg0, int arg1)

## Fields

#### public static final Creator<FullWallet> CREATOR

## Public Methods

#### public int describeContents ()

#### public Address getBillingAddress ()

This method is deprecated.
Use `getBuyerBillingAddress()` instead.

##### Returns

- Billing address associated with the payment instrument.

#### public UserAddress getBuyerBillingAddress ()

##### Returns

- the billing address associated with the buyer's payment instrument

#### public UserAddress getBuyerShippingAddress ()

##### Returns

- the buyer's shipping address

#### public String getEmail ()

##### Returns

- buyer's email

#### public String getGoogleTransactionId ()

##### Returns

- Google's unique identifier for this transaction, will be identical to the value passed in `FullWalletRequest`.

#### public InstrumentInfo[] getInstrumentInfos ()

Returns an array of finer grained details about the instruments used in this Google Wallet transaction. Details here can be parsed and used for customer support, etc..., but should not be displayed to the user.

NOTE: This list of details is not guaranteed to have the same ordering or length as `getPaymentDescriptions()`.

##### Returns

- list of instrument info (if available), otherwise null.

#### public String getMerchantTransactionId ()

##### Returns

- An optional merchant identifier for this transaction, will be identical to the value passed in `FullWalletRequest`

#### public String[] getPaymentDescriptions ()

Returns an array of strings used for user-facing messaging about payment instruments used for funding this Google Wallet transaction. Do not attempt to parse the contents of this array as the format, contents and length may change at any time.

IMPORTANT: This list is sorted in the order of how messages should be displayed. You are required to show each of these sources to inform the buyer of their funding sources for the transaction. See Google Wallet UI guide for details. Each payment description is not guaranteed to match a consistent pattern and you should not try to parse this data. See `getInstrumentInfos()` for a stable API of instrument information.

##### Returns

- A list of user-facing messages about payment instruments used to fund the Google Wallet transaction.

#### public ProxyCard getProxyCard ()

##### Returns

- The one-time credit card to use for payment processing

#### public Address getShippingAddress ()

This method is deprecated.
Use `getBuyerShippingAddress()` instead.

##### Returns

- Buyer's shipping address

#### public int getVersionCode ()

#### public void writeToParcel (Parcel out, int flags)