public final class SubscriptionPriceChange
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 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.Flags
Constructor and Description |
---|
SubscriptionPriceChange() |
Modifier and Type | Method and Description |
---|---|
SubscriptionPriceChange |
clone() |
Price |
getNewPrice()
The new price the subscription will renew with if the price change is accepted by the user.
|
java.lang.Integer |
getState()
The current state of the price change.
|
SubscriptionPriceChange |
set(java.lang.String fieldName,
java.lang.Object value) |
SubscriptionPriceChange |
setNewPrice(Price newPrice)
The new price the subscription will renew with if the price change is accepted by the user.
|
SubscriptionPriceChange |
setState(java.lang.Integer state)
The current state of the price change.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Price getNewPrice()
null
for nonepublic SubscriptionPriceChange setNewPrice(Price newPrice)
newPrice
- newPrice or null
for nonepublic java.lang.Integer getState()
null
for nonepublic SubscriptionPriceChange setState(java.lang.Integer state)
state
- state or null
for nonepublic SubscriptionPriceChange set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SubscriptionPriceChange clone()
clone
in class com.google.api.client.json.GenericJson