public final class ItemReplacement
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 Google Play Android Developer API. 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 |
|---|
ItemReplacement() |
| Modifier and Type | Method and Description |
|---|---|
ItemReplacement |
clone() |
String |
getBasePlanId()
The base plan ID of the subscription line item being replaced.
|
String |
getOfferId()
The offer ID of the subscription line item being replaced, if applicable.
|
String |
getProductId()
The product ID of the subscription line item being replaced.
|
String |
getReplacementMode()
The replacement mode applied during the purchase.
|
ItemReplacement |
set(String fieldName,
Object value) |
ItemReplacement |
setBasePlanId(String basePlanId)
The base plan ID of the subscription line item being replaced.
|
ItemReplacement |
setOfferId(String offerId)
The offer ID of the subscription line item being replaced, if applicable.
|
ItemReplacement |
setProductId(String productId)
The product ID of the subscription line item being replaced.
|
ItemReplacement |
setReplacementMode(String replacementMode)
The replacement mode applied during the purchase.
|
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 String getBasePlanId()
null for nonepublic ItemReplacement setBasePlanId(String basePlanId)
basePlanId - basePlanId or null for nonepublic String getOfferId()
null for nonepublic ItemReplacement setOfferId(String offerId)
offerId - offerId or null for nonepublic String getProductId()
null for nonepublic ItemReplacement setProductId(String productId)
productId - productId or null for nonepublic String getReplacementMode()
null for nonepublic ItemReplacement setReplacementMode(String replacementMode)
replacementMode - replacementMode or null for nonepublic ItemReplacement set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ItemReplacement clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.