# TransactionInfo

public final class **TransactionInfo** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
implements [Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) Parcelable representing the detailed info about the transaction.

### Nested Class Summary

|---|---|---|---|
| class | [TransactionInfo.Builder](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo.Builder) || Builder to create a `https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo`. |

### Inherited Constant Summary

From interface android.os.Parcelable

|---|---|---|
| int | CONTENTS_FILE_DESCRIPTOR |   |
| int | PARCELABLE_WRITE_RETURN_VALUE |   |

### Field Summary

|---|---|---|
| public static final [Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)\<[TransactionInfo](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo)\> | [CREATOR](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo#CREATOR) |   |

### Public Method Summary

|---|---|
| [String](https://developer.android.com/reference/java/lang/String.html) | [getCurrencyCode](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo#getCurrencyCode())() Returns the currency code. |
| [String](https://developer.android.com/reference/java/lang/String.html) | [getTotalPrice](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo#getTotalPrice())() Returns the total price, or `null` if not set. |
| int | [getTotalPriceStatus](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo#getTotalPriceStatus())() Returns the total price status. |
| static [TransactionInfo.Builder](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo.Builder) | [newBuilder](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo#newBuilder())() Builder to create a `https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo`. |
| void | [writeToParcel](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo#writeToParcel(android.os.Parcel,%20int))([Parcel](https://developer.android.com/reference/android/os/Parcel.html) out, int flags) |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

From interface android.os.Parcelable

|---|---|
| abstract int | describeContents() |
| abstract void | writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html) arg0, int arg1) |

## Fields

#### public static final [Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)\<[TransactionInfo](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo)\>
**CREATOR**

## Public Methods

#### public [String](https://developer.android.com/reference/java/lang/String.html) **getCurrencyCode** ()

Returns the currency code.

#### public [String](https://developer.android.com/reference/java/lang/String.html) **getTotalPrice** ()

Returns the total price, or `null` if not set.

#### public int **getTotalPriceStatus** ()

Returns the total price status. See `https://developers.google.com/android/reference/com/google/android/gms/wallet/WalletConstants.TotalPriceStatus` for available options.

#### public static [TransactionInfo.Builder](https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo.Builder)
**newBuilder** ()

Builder to create a `https://developers.google.com/android/reference/com/google/android/gms/wallet/TransactionInfo`.

#### public void **writeToParcel** ([Parcel](https://developer.android.com/reference/android/os/Parcel.html) out, int flags)