17
17
package com .google .api .services .androidpublisher .model ;
18
18
19
19
/**
20
- * Configuration for a price migration .
20
+ * Configuration for migration of a legacy price cohort .
21
21
*
22
22
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23
23
* transmitted over HTTP when working with the Google Play Android Developer API. For a detailed
31
31
public final class RegionalPriceMigrationConfig extends com .google .api .client .json .GenericJson {
32
32
33
33
/**
34
- * Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers
35
- * on prices which were available at this cutoff time or later will stay on their existing price.
36
- * Subscribers on older prices will be migrated to the currently-offered price. The migrated
37
- * subscribers will receive a notification that they will be paying a different price. Subscribers
38
- * who do not agree to the new price will have their subscription ended at the next renewal .
34
+ * Required. Subscribers in all legacy price cohorts before this time will be migrated to the
35
+ * current price. Subscribers in any newer price cohorts are unaffected. Affected subscribers will
36
+ * receive one or more notifications from Google Play about the price change. Price decreases
37
+ * occur at the subscriber's next billing date. Price increases occur at the subscriber's next
38
+ * billing date following a notification period that varies by region and price increase type .
39
39
* The value may be {@code null}.
40
40
*/
41
41
@ com .google .api .client .util .Key
42
42
private String oldestAllowedPriceVersionTime ;
43
43
44
44
/**
45
- * Optional. The behavior the caller wants users to see when there is a price increase during
46
- * migration. If left unset, the behavior defaults to PRICE_INCREASE_TYPE_OPT_IN. Note that the
47
- * first opt-out price increase migration for each app must be initiated in Play Console.
45
+ * Optional. The requested type of price increase
48
46
* The value may be {@code null}.
49
47
*/
50
48
@ com .google .api .client .util .Key
@@ -58,23 +56,23 @@ public final class RegionalPriceMigrationConfig extends com.google.api.client.js
58
56
private java .lang .String regionCode ;
59
57
60
58
/**
61
- * Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers
62
- * on prices which were available at this cutoff time or later will stay on their existing price.
63
- * Subscribers on older prices will be migrated to the currently-offered price. The migrated
64
- * subscribers will receive a notification that they will be paying a different price. Subscribers
65
- * who do not agree to the new price will have their subscription ended at the next renewal .
59
+ * Required. Subscribers in all legacy price cohorts before this time will be migrated to the
60
+ * current price. Subscribers in any newer price cohorts are unaffected. Affected subscribers will
61
+ * receive one or more notifications from Google Play about the price change. Price decreases
62
+ * occur at the subscriber's next billing date. Price increases occur at the subscriber's next
63
+ * billing date following a notification period that varies by region and price increase type .
66
64
* @return value or {@code null} for none
67
65
*/
68
66
public String getOldestAllowedPriceVersionTime () {
69
67
return oldestAllowedPriceVersionTime ;
70
68
}
71
69
72
70
/**
73
- * Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers
74
- * on prices which were available at this cutoff time or later will stay on their existing price.
75
- * Subscribers on older prices will be migrated to the currently-offered price. The migrated
76
- * subscribers will receive a notification that they will be paying a different price. Subscribers
77
- * who do not agree to the new price will have their subscription ended at the next renewal .
71
+ * Required. Subscribers in all legacy price cohorts before this time will be migrated to the
72
+ * current price. Subscribers in any newer price cohorts are unaffected. Affected subscribers will
73
+ * receive one or more notifications from Google Play about the price change. Price decreases
74
+ * occur at the subscriber's next billing date. Price increases occur at the subscriber's next
75
+ * billing date following a notification period that varies by region and price increase type .
78
76
* @param oldestAllowedPriceVersionTime oldestAllowedPriceVersionTime or {@code null} for none
79
77
*/
80
78
public RegionalPriceMigrationConfig setOldestAllowedPriceVersionTime (String oldestAllowedPriceVersionTime ) {
@@ -83,19 +81,15 @@ public RegionalPriceMigrationConfig setOldestAllowedPriceVersionTime(String olde
83
81
}
84
82
85
83
/**
86
- * Optional. The behavior the caller wants users to see when there is a price increase during
87
- * migration. If left unset, the behavior defaults to PRICE_INCREASE_TYPE_OPT_IN. Note that the
88
- * first opt-out price increase migration for each app must be initiated in Play Console.
84
+ * Optional. The requested type of price increase
89
85
* @return value or {@code null} for none
90
86
*/
91
87
public java .lang .String getPriceIncreaseType () {
92
88
return priceIncreaseType ;
93
89
}
94
90
95
91
/**
96
- * Optional. The behavior the caller wants users to see when there is a price increase during
97
- * migration. If left unset, the behavior defaults to PRICE_INCREASE_TYPE_OPT_IN. Note that the
98
- * first opt-out price increase migration for each app must be initiated in Play Console.
92
+ * Optional. The requested type of price increase
99
93
* @param priceIncreaseType priceIncreaseType or {@code null} for none
100
94
*/
101
95
public RegionalPriceMigrationConfig setPriceIncreaseType (java .lang .String priceIncreaseType ) {
0 commit comments