Class: Google::Apis::PaymentsresellersubscriptionV1::FiniteBillingCycleDetails
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::FiniteBillingCycleDetails
- 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
-
#billing_cycle_count_limit ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FiniteBillingCycleDetails
constructor
A new instance of FiniteBillingCycleDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_limit ⇒ Fixnum
Required. The number of a subscription line item billing cycles after which
billing will stop automatically.
Corresponds to the JSON property billingCycleCountLimit
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 |