Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb

Overview

Details for a subscriptiin line item with finite billing cycles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails.



385
386
387
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 385

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#billing_cycle_count_limitFixnum

Required. The number of a subscription line item billing cycles after which billing will stop automatically. Corresponds to the JSON property billingCycleCountLimit

Returns:

  • (Fixnum)


383
384
385
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 383

def billing_cycle_count_limit
  @billing_cycle_count_limit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



390
391
392
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 390

def update!(**args)
  @billing_cycle_count_limit = args[:billing_cycle_count_limit] if args.key?(:billing_cycle_count_limit)
end