Class: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb

Overview

Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SubscriptionCancelSurveyResult

Returns a new instance of SubscriptionCancelSurveyResult.



1491
1492
1493
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1491

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

Instance Attribute Details

#cancel_survey_reasonFixnum

The cancellation reason the user chose in the survey. Possible values are:

  • Other
  • I don't use this service enough
  • Technical issues
  • Cost-related reasons
  • I found a better app Corresponds to the JSON property cancelSurveyReason

Returns:

  • (Fixnum)


1483
1484
1485
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1483

def cancel_survey_reason
  @cancel_survey_reason
end

#user_input_cancel_reasonString

The customized input cancel reason from the user. Only present when cancelReason is 0. Corresponds to the JSON property userInputCancelReason

Returns:

  • (String)


1489
1490
1491
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1489

def user_input_cancel_reason
  @user_input_cancel_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1496
1497
1498
1499
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1496

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