Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
- 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) ⇒ GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails.
447 448 449 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 447 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
445 446 447 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 445 def billing_cycle_count_limit @billing_cycle_count_limit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
452 453 454 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 452 def update!(**args) @billing_cycle_count_limit = args[:billing_cycle_count_limit] if args.key?(:billing_cycle_count_limit) end |