@@ -26,10 +26,10 @@ public class Plan extends ApiResource implements HasId, MetadataStore<Plan> {
26
26
27
27
/**
28
28
* Specifies a usage aggregation strategy for plans of {@code usage_type=metered}. Allowed values
29
- * are {@code sum} for summing up all usage during a period, {@code last_during_period} for
30
- * picking the last usage record reported within a period, {@code last_ever} for picking the last
31
- * usage record ever (across period bounds) or {@code max} which picks the usage record with the
32
- * maximum reported usage during a period. Defaults to {@code sum}.
29
+ * are {@code sum} for summing up all usage during a period, {@code last_during_period} for using
30
+ * the last usage record reported within a period, {@code last_ever} for using the last usage
31
+ * record ever (across period bounds) or {@code max} which uses the usage record with the maximum
32
+ * reported usage during a period. Defaults to {@code sum}.
33
33
*
34
34
* <p>One of {@code last_during_period}, {@code last_ever}, {@code max}, or {@code sum}.
35
35
*/
@@ -78,14 +78,14 @@ public class Plan extends ApiResource implements HasId, MetadataStore<Plan> {
78
78
String id ;
79
79
80
80
/**
81
- * One of {@code day}, {@code week}, {@code month} or {@code year}. The frequency with which a
82
- * subscription should be billed .
81
+ * The frequency at which a subscription is billed. One of {@code day}, {@code week}, {@code
82
+ * month} or {@code year} .
83
83
*/
84
84
@ SerializedName ("interval" )
85
85
String interval ;
86
86
87
87
/**
88
- * The number of intervals (specified in the {@code interval} property ) between subscription
88
+ * The number of intervals (specified in the {@code interval} attribute ) between subscription
89
89
* billings. For example, {@code interval=month} and {@code interval_count=3} bills every 3
90
90
* months.
91
91
*/
@@ -134,17 +134,17 @@ public class Plan extends ApiResource implements HasId, MetadataStore<Plan> {
134
134
135
135
/**
136
136
* Defines if the tiering price should be {@code graduated} or {@code volume} based. In {@code
137
- * volume}-based tiering, the maximum quantity within a period determines the per unit price, in
138
- * {@code graduated} tiering pricing can successively change as the quantity grows.
137
+ * volume}-based tiering, the maximum quantity within a period determines the per unit price. In
138
+ * {@code graduated} tiering, pricing can change as the quantity grows.
139
139
*
140
140
* <p>One of {@code graduated}, or {@code volume}.
141
141
*/
142
142
@ SerializedName ("tiers_mode" )
143
143
String tiersMode ;
144
144
145
145
/**
146
- * Apply a transformation to the reported usage or set quantity before computing the billed price.
147
- * Cannot be combined with {@code tiers}.
146
+ * Apply a transformation to the reported usage or set quantity before computing the amount
147
+ * billed. Cannot be combined with {@code tiers}.
148
148
*/
149
149
@ SerializedName ("transform_usage" )
150
150
TransformUsage transformUsage ;
@@ -158,12 +158,10 @@ public class Plan extends ApiResource implements HasId, MetadataStore<Plan> {
158
158
Long trialPeriodDays ;
159
159
160
160
/**
161
- * Configures how the quantity per period should be determined, can be either {@code metered} or
162
- * {@code licensed}. {@code licensed} will automatically bill the {@code quantity} set when adding
163
- * it to a subscription, {@code metered} will aggregate the total usage based on usage records.
164
- * Defaults to {@code licensed}.
165
- *
166
- * <p>One of {@code licensed}, or {@code metered}.
161
+ * Configures how the quantity per period should be determined. Can be either {@code metered} or
162
+ * {@code licensed}. {@code licensed} automatically bills the {@code quantity} set when adding it
163
+ * to a subscription. {@code metered} aggregates the total usage based on usage records. Defaults
164
+ * to {@code licensed}.
167
165
*/
168
166
@ SerializedName ("usage_type" )
169
167
String usageType ;
0 commit comments