public final class CheckoutSettings
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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CheckoutSettings() |
Modifier and Type | Method and Description |
---|---|
CheckoutSettings |
clone() |
String |
getEffectiveEnrollmentState()
Output only.
|
String |
getEffectiveReviewState()
Output only.
|
UrlSettings |
getEffectiveUriSettings()
The effective value of `url_settings` for a given merchant ID.
|
String |
getEnrollmentState()
Output only.
|
Long |
getMerchantId()
Required.
|
String |
getReviewState()
Output only.
|
UrlSettings |
getUriSettings()
URL settings for cart or checkout URL.
|
CheckoutSettings |
set(String fieldName,
Object value) |
CheckoutSettings |
setEffectiveEnrollmentState(String effectiveEnrollmentState)
Output only.
|
CheckoutSettings |
setEffectiveReviewState(String effectiveReviewState)
Output only.
|
CheckoutSettings |
setEffectiveUriSettings(UrlSettings effectiveUriSettings)
The effective value of `url_settings` for a given merchant ID.
|
CheckoutSettings |
setEnrollmentState(String enrollmentState)
Output only.
|
CheckoutSettings |
setMerchantId(Long merchantId)
Required.
|
CheckoutSettings |
setReviewState(String reviewState)
Output only.
|
CheckoutSettings |
setUriSettings(UrlSettings uriSettings)
URL settings for cart or checkout URL.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEffectiveEnrollmentState()
null
for nonepublic CheckoutSettings setEffectiveEnrollmentState(String effectiveEnrollmentState)
effectiveEnrollmentState
- effectiveEnrollmentState or null
for nonepublic String getEffectiveReviewState()
null
for nonepublic CheckoutSettings setEffectiveReviewState(String effectiveReviewState)
effectiveReviewState
- effectiveReviewState or null
for nonepublic UrlSettings getEffectiveUriSettings()
null
for nonepublic CheckoutSettings setEffectiveUriSettings(UrlSettings effectiveUriSettings)
effectiveUriSettings
- effectiveUriSettings or null
for nonepublic String getEnrollmentState()
null
for nonepublic CheckoutSettings setEnrollmentState(String enrollmentState)
enrollmentState
- enrollmentState or null
for nonepublic Long getMerchantId()
null
for nonepublic CheckoutSettings setMerchantId(Long merchantId)
merchantId
- merchantId or null
for nonepublic String getReviewState()
null
for nonepublic CheckoutSettings setReviewState(String reviewState)
reviewState
- reviewState or null
for nonepublic UrlSettings getUriSettings()
null
for nonepublic CheckoutSettings setUriSettings(UrlSettings uriSettings)
uriSettings
- uriSettings or null
for nonepublic CheckoutSettings set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CheckoutSettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.