
target.apidocs.com.google.api.services.androidpublisher.model.RegionalPriceMigrationConfig.html Maven / Gradle / Ivy
RegionalPriceMigrationConfig (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class RegionalPriceMigrationConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.RegionalPriceMigrationConfig
-
public final class RegionalPriceMigrationConfig
extends com.google.api.client.json.GenericJson
Configuration for a price migration.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
RegionalPriceMigrationConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RegionalPriceMigrationConfig
clone()
String
getOldestAllowedPriceVersionTime()
Required.
String
getPriceIncreaseType()
Optional.
String
getRegionCode()
Required.
RegionalPriceMigrationConfig
set(String fieldName,
Object value)
RegionalPriceMigrationConfig
setOldestAllowedPriceVersionTime(String oldestAllowedPriceVersionTime)
Required.
RegionalPriceMigrationConfig
setPriceIncreaseType(String priceIncreaseType)
Optional.
RegionalPriceMigrationConfig
setRegionCode(String regionCode)
Required.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getOldestAllowedPriceVersionTime
public String getOldestAllowedPriceVersionTime()
Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers
on prices which were available at this cutoff time or later will stay on their existing price.
Subscribers on older prices will be migrated to the currently-offered price. The migrated
subscribers will receive a notification that they will be paying a different price. Subscribers
who do not agree to the new price will have their subscription ended at the next renewal.
- Returns:
- value or
null
for none
-
setOldestAllowedPriceVersionTime
public RegionalPriceMigrationConfig setOldestAllowedPriceVersionTime(String oldestAllowedPriceVersionTime)
Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers
on prices which were available at this cutoff time or later will stay on their existing price.
Subscribers on older prices will be migrated to the currently-offered price. The migrated
subscribers will receive a notification that they will be paying a different price. Subscribers
who do not agree to the new price will have their subscription ended at the next renewal.
- Parameters:
oldestAllowedPriceVersionTime
- oldestAllowedPriceVersionTime or null
for none
-
getPriceIncreaseType
public String getPriceIncreaseType()
Optional. The behavior the caller wants users to see when there is a price increase during
migration. If left unset, the behavior defaults to PRICE_INCREASE_TYPE_OPT_IN. Note that the
first opt-out price increase migration for each app must be initiated in Play Console.
- Returns:
- value or
null
for none
-
setPriceIncreaseType
public RegionalPriceMigrationConfig setPriceIncreaseType(String priceIncreaseType)
Optional. The behavior the caller wants users to see when there is a price increase during
migration. If left unset, the behavior defaults to PRICE_INCREASE_TYPE_OPT_IN. Note that the
first opt-out price increase migration for each app must be initiated in Play Console.
- Parameters:
priceIncreaseType
- priceIncreaseType or null
for none
-
getRegionCode
public String getRegionCode()
Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US".
- Returns:
- value or
null
for none
-
setRegionCode
public RegionalPriceMigrationConfig setRegionCode(String regionCode)
Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US".
- Parameters:
regionCode
- regionCode or null
for none
-
set
public RegionalPriceMigrationConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RegionalPriceMigrationConfig clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy