class Google::Apis::CloudchannelV1::GoogleCloudChannelV1RenewalSettings

Renewal settings for renewable Offers.

Attributes

enable_renewal[RW]

If false, the plan will be completed at the end date. Corresponds to the JSON property `enableRenewal` @return [Boolean]

enable_renewal?[RW]

If false, the plan will be completed at the end date. Corresponds to the JSON property `enableRenewal` @return [Boolean]

payment_cycle[RW]

Represents period in days/months/years. Corresponds to the JSON property `paymentCycle` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Period]

payment_plan[RW]

Describes how a reseller will be billed. Corresponds to the JSON property `paymentPlan` @return [String]

resize_unit_count[RW]

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time. Corresponds to the JSON property `resizeUnitCount` @return [Boolean]

resize_unit_count?[RW]

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time. Corresponds to the JSON property `resizeUnitCount` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 2014
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 2019
def update!(**args)
  @enable_renewal = args[:enable_renewal] if args.key?(:enable_renewal)
  @payment_cycle = args[:payment_cycle] if args.key?(:payment_cycle)
  @payment_plan = args[:payment_plan] if args.key?(:payment_plan)
  @resize_unit_count = args[:resize_unit_count] if args.key?(:resize_unit_count)
end