@@ -34,14 +34,13 @@ enum PromotionalOrderType {
3434 // Not used.
3535 PROMOTIONAL_TYPE_UNSPECIFIED = 0 ;
3636
37- // Order used for net new customers, trial conversions and upgrades.
37+ // Order used for new customers, trial conversions and upgrades.
3838 NEW_UPGRADE = 1 ;
3939
40- // All orders for an existing customer transferring to the reseller .
40+ // All orders for transferring an existing customer.
4141 TRANSFER = 2 ;
4242
43- // Orders for an existing customer switching from one promotion to another
44- // (can be addition/removal of a promotion as well) on the same sku.
43+ // Orders for modifying an existing customer's promotion on the same SKU.
4544 PROMOTION_SWITCH = 3 ;
4645}
4746
@@ -78,10 +77,9 @@ enum PaymentType {
7877 POSTPAY = 2 ;
7978}
8079
81- // Represents monetizable resource's type.
82- // A monetizable resource is an entity on which billing happens. For example,
83- // this could be MINUTES for Google Voice and GB for Google Drive. One SKU can
84- // map to multiple monetizable resources.
80+ // Represents the type for a monetizable resource(any entity on which billing
81+ // happens). For example, this could be MINUTES for Google Voice and GB for
82+ // Google Drive. One SKU can map to multiple monetizable resources.
8583enum ResourceType {
8684 // Not used.
8785 RESOURCE_TYPE_UNSPECIFIED = 0 ;
@@ -211,13 +209,11 @@ message ParameterDefinition {
211209
212210// Represents the constraints for buying the Offer.
213211message Constraints {
214- // Represents constraints on a customer required for purchasing this Offer
215- // for that customer.
212+ // Represents constraints required to purchase the Offer for a customer.
216213 CustomerConstraints customer_constraints = 1 ;
217214}
218215
219- // Represents constraints on a customer required for purchasing this Offer for
220- // that customer.
216+ // Represents constraints required to purchase the Offer for a customer.
221217message CustomerConstraints {
222218 // Allowed geographical regions of the customer.
223219 repeated string allowed_regions = 1 ;
@@ -229,7 +225,7 @@ message CustomerConstraints {
229225 repeated PromotionalOrderType promotional_order_types = 3 ;
230226}
231227
232- // The payment plan for the Offer, describing how a payment is made .
228+ // The payment plan for the Offer. Describes how to make a payment .
233229message Plan {
234230 // Describes how a reseller will be billed.
235231 PaymentPlan payment_plan = 1 ;
@@ -242,11 +238,11 @@ message Plan {
242238 Period payment_cycle = 3 ;
243239
244240 // Present for Offers with a trial period.
245- // For trial-only Offers, a paid service needs to be started before the trial
241+ // For trial-only Offers, a paid service needs to start before the trial
246242 // period ends for continued service.
247- // For Regular Offers with an initial trial period, the regular pricing will
248- // take effect after the trial period ends, or if paid service is started
249- // before the end of the trial period.
243+ // For Regular Offers with a trial period, the regular pricing goes into
244+ // effect when trial period ends, or if paid service is started before the end
245+ // of the trial period.
250246 Period trial_period = 4 ;
251247}
252248
@@ -279,8 +275,8 @@ message Price {
279275}
280276
281277// Specifies the price by the duration of months.
282- // For example, for the first 6 months, 20% discount. From the seventh month,
283- // 10% discount .
278+ // For example, a 20% discount for the first six months, then a 10% discount
279+ // starting on the seventh month .
284280message PricePhase {
285281 // Defines the phase period type.
286282 PeriodType period_type = 1 ;
@@ -300,9 +296,11 @@ message PricePhase {
300296
301297// Defines price at resource tier level.
302298// For example, an offer with following definition :
303- // Tier 1: Provide 25% discount for all seats between 1 and 25.
304- // Tier 2: Provide 10% discount for all seats between 26 and 100.
305- // Tier 3: Provide flat 15% discount for all seats above 100.
299+ //
300+ // * Tier 1: Provide 25% discount for all seats between 1 and 25.
301+ // * Tier 2: Provide 10% discount for all seats between 26 and 100.
302+ // * Tier 3: Provide flat 15% discount for all seats above 100.
303+ //
306304// Each of these tiers is represented as a PriceTier.
307305message PriceTier {
308306 // First resource for which the tier price applies.
0 commit comments