Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse
- 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
Response that contains the timestamps after the extension.
Instance Attribute Summary collapse
-
#cycle_end_time ⇒ String
The time at which the subscription is expected to be extended, in ISO 8061 format.
-
#free_trial_end_time ⇒ String
End of the free trial period, in ISO 8061 format.
-
#renewal_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse.
329 330 331 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cycle_end_time ⇒ String
The time at which the subscription is expected to be extended, in ISO 8061
format. UTC timezone. Example, "cycleEndTime":"2019-08-31T17:28:54.564Z"
Corresponds to the JSON property cycleEndTime
310 311 312 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 310 def cycle_end_time @cycle_end_time end |
#free_trial_end_time ⇒ String
End of the free trial period, in ISO 8061 format. UTC timezone. Example, "
freeTrialEndTime":"2019-08-31T17:28:54.564Z" This time will be set the same as
initial subscription creation time if no free trial period is offered to the
partner.
Corresponds to the JSON property freeTrialEndTime
318 319 320 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 318 def free_trial_end_time @free_trial_end_time end |
#renewal_time ⇒ String
Output only. The time at which the subscription is expected to be renewed by
Google - a new charge will be incurred and the service entitlement will be
renewed. A non-immediate cancellation will take place at this time too, before
which, the service entitlement for the end user will remain valid. UTC
timezone in ISO 8061 format. For example: "2019-08-31T17:28:54.564Z"
Corresponds to the JSON property renewalTime
327 328 329 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 327 def renewal_time @renewal_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
334 335 336 337 338 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 334 def update!(**args) @cycle_end_time = args[:cycle_end_time] if args.key?(:cycle_end_time) @free_trial_end_time = args[:free_trial_end_time] if args.key?(:free_trial_end_time) @renewal_time = args[:renewal_time] if args.key?(:renewal_time) end |