Class: Google::Apis::PaymentsresellersubscriptionV1::FiniteBillingCycleDetails

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) ⇒ FiniteBillingCycleDetails

Returns a new instance of FiniteBillingCycleDetails.



472
473
474
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 472

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)


470
471
472
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 470

def billing_cycle_count_limit
  @billing_cycle_count_limit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



477
478
479
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 477

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