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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ SubscriptionCancelSurveyResult

Returns a new instance of SubscriptionCancelSurveyResult.



3048
3049
3050
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3048

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

Instance Attribute Details

#cancel_survey_reasonFixnum

The cancellation reason the user chose in the survey. Possible values are: 0. Other 1. I don't use this service enough 2. Technical issues 3. Cost-related reasons 4. I found a better app Corresponds to the JSON property cancelSurveyReason

Returns:

  • (Fixnum)


3040
3041
3042
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3040

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)


3046
3047
3048
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3046

def user_input_cancel_reason
  @user_input_cancel_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3053
3054
3055
3056
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3053

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