public final class UpgradeTargetingRule
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UpgradeTargetingRule() |
Modifier and Type | Method and Description |
---|---|
UpgradeTargetingRule |
clone() |
String |
getBillingPeriodDuration()
The specific billing period duration, specified in ISO 8601 format, that a user must be
currently subscribed to to be eligible for this rule.
|
Boolean |
getOncePerUser()
Limit this offer to only once per user.
|
TargetingRuleScope |
getScope()
Required.
|
UpgradeTargetingRule |
set(String fieldName,
Object value) |
UpgradeTargetingRule |
setBillingPeriodDuration(String billingPeriodDuration)
The specific billing period duration, specified in ISO 8601 format, that a user must be
currently subscribed to to be eligible for this rule.
|
UpgradeTargetingRule |
setOncePerUser(Boolean oncePerUser)
Limit this offer to only once per user.
|
UpgradeTargetingRule |
setScope(TargetingRuleScope scope)
Required.
|
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 getBillingPeriodDuration()
null
for nonepublic UpgradeTargetingRule setBillingPeriodDuration(String billingPeriodDuration)
billingPeriodDuration
- billingPeriodDuration or null
for nonepublic Boolean getOncePerUser()
null
for nonepublic UpgradeTargetingRule setOncePerUser(Boolean oncePerUser)
oncePerUser
- oncePerUser or null
for nonepublic TargetingRuleScope getScope()
null
for nonepublic UpgradeTargetingRule setScope(TargetingRuleScope scope)
scope
- scope or null
for nonepublic UpgradeTargetingRule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public UpgradeTargetingRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.