NotifyTransactionStatusRequest.Builder | 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: Methods | Inherited Methods | [Expand All]
public final class

# NotifyTransactionStatusRequest.Builder

extends Object

java.lang.Object
↳ | com.google.android.gms.wallet.NotifyTransactionStatusRequest.Builder

## Class Overview

Builder to create a `NotifyTransactionStatusRequest`.

## Summary

Public Methods
NotifyTransactionStatusRequest | build()
NotifyTransactionStatusRequest.Builder | setDetailedReason(String detailedReason) Sets any additional information about why the `ProxyCard` transaction failed.
NotifyTransactionStatusRequest.Builder | setGoogleTransactionId(String googleTransactionId) Sets Google's unique identifier for this transaction.
NotifyTransactionStatusRequest.Builder | setStatus(int status) Sets the status received from processing the `ProxyCard` in a `FullWallet` response.

[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)

## Public Methods

#### public NotifyTransactionStatusRequest build ()

#### public NotifyTransactionStatusRequest.Builder setDetailedReason (String detailedReason)

Sets any additional information about why the `ProxyCard` transaction failed. This field should only be set with a corresponding `NotifyTransactionStatusRequest.Status.Error` status.

#### public NotifyTransactionStatusRequest.Builder setGoogleTransactionId (String googleTransactionId)

Sets Google's unique identifier for this transaction. This field is required and must be identical to the value returned in an earlier `FullWallet` in the same transaction.

#### public NotifyTransactionStatusRequest.Builder setStatus (int status)

Sets the status received from processing the `ProxyCard` in a `FullWallet` response. This field is required and must be one of the values in `NotifyTransactionStatusRequest.Status` or `NotifyTransactionStatusRequest.Status.Error`.