Class: Google::Apis::PaymentsresellersubscriptionV1::ResumeSubscriptionRequest

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

Request to resume a suspended subscription.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResumeSubscriptionRequest

Returns a new instance of ResumeSubscriptionRequest.



1070
1071
1072
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1070

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

Instance Attribute Details

#cycle_optionsGoogle::Apis::PaymentsresellersubscriptionV1::CycleOptions

The cycle options when starting and resuming a subscription. Corresponds to the JSON property cycleOptions



1063
1064
1065
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1063

def cycle_options
  @cycle_options
end

#resume_modeString

Required. The mode to resume the subscription. Corresponds to the JSON property resumeMode

Returns:

  • (String)


1068
1069
1070
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1068

def resume_mode
  @resume_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
1078
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1075

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