public final class

IsReadyToPayRequest.Builder

extends Object
java.lang.Object
   ↳ com.google.android.gms.wallet.IsReadyToPayRequest.Builder

Class Overview

Builder for creating an IsReadyToPayRequest.

Summary

Public Methods
IsReadyToPayRequest.Builder addAllowedCardNetwork(int allowedCardNetwork)
Adds a card network for cards allowed for the purchase.
IsReadyToPayRequest build()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public IsReadyToPayRequest.Builder addAllowedCardNetwork (int allowedCardNetwork)

Adds a card network for cards allowed for the purchase. See WalletConstants.CardNetwork for available options. If not explicitly set, the default supported networks will be AMEX, DISCOVER, MASTERCARD, and VISA.

Parameters
allowedCardNetwork int
Returns
IsReadyToPayRequest.Builder

public IsReadyToPayRequest build ()

Returns
IsReadyToPayRequest The actual IsReadyToPayRequest created using the data passed to the Builder object.