public final class GoogleMapsPlacesV1PlacePaymentOptions
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Places API (New). For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleMapsPlacesV1PlacePaymentOptions() |
| Modifier and Type | Method and Description |
|---|---|
GoogleMapsPlacesV1PlacePaymentOptions |
clone() |
Boolean |
getAcceptsCashOnly()
Place accepts cash only as payment.
|
Boolean |
getAcceptsCreditCards()
Place accepts credit cards as payment.
|
Boolean |
getAcceptsDebitCards()
Place accepts debit cards as payment.
|
Boolean |
getAcceptsNfc()
Place accepts NFC payments.
|
GoogleMapsPlacesV1PlacePaymentOptions |
set(String fieldName,
Object value) |
GoogleMapsPlacesV1PlacePaymentOptions |
setAcceptsCashOnly(Boolean acceptsCashOnly)
Place accepts cash only as payment.
|
GoogleMapsPlacesV1PlacePaymentOptions |
setAcceptsCreditCards(Boolean acceptsCreditCards)
Place accepts credit cards as payment.
|
GoogleMapsPlacesV1PlacePaymentOptions |
setAcceptsDebitCards(Boolean acceptsDebitCards)
Place accepts debit cards as payment.
|
GoogleMapsPlacesV1PlacePaymentOptions |
setAcceptsNfc(Boolean acceptsNfc)
Place accepts NFC payments.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleMapsPlacesV1PlacePaymentOptions()
public Boolean getAcceptsCashOnly()
null for nonepublic GoogleMapsPlacesV1PlacePaymentOptions setAcceptsCashOnly(Boolean acceptsCashOnly)
acceptsCashOnly - acceptsCashOnly or null for nonepublic Boolean getAcceptsCreditCards()
null for nonepublic GoogleMapsPlacesV1PlacePaymentOptions setAcceptsCreditCards(Boolean acceptsCreditCards)
acceptsCreditCards - acceptsCreditCards or null for nonepublic Boolean getAcceptsDebitCards()
null for nonepublic GoogleMapsPlacesV1PlacePaymentOptions setAcceptsDebitCards(Boolean acceptsDebitCards)
acceptsDebitCards - acceptsDebitCards or null for nonepublic Boolean getAcceptsNfc()
null for nonepublic GoogleMapsPlacesV1PlacePaymentOptions setAcceptsNfc(Boolean acceptsNfc)
acceptsNfc - acceptsNfc or null for nonepublic GoogleMapsPlacesV1PlacePaymentOptions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleMapsPlacesV1PlacePaymentOptions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.