Class: Google::Apis::AndroidpublisherV3::CanceledStateContext
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::CanceledStateContext
- 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 specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED state.
Instance Attribute Summary collapse
-
#developer_initiated_cancellation ⇒ Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation
Information specific to cancellations initiated by developers.
-
#replacement_cancellation ⇒ Google::Apis::AndroidpublisherV3::ReplacementCancellation
Information specific to cancellations caused by subscription replacement.
-
#system_initiated_cancellation ⇒ Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation
Information specific to cancellations initiated by Google system.
-
#user_initiated_cancellation ⇒ Google::Apis::AndroidpublisherV3::UserInitiatedCancellation
Information specific to cancellations initiated by users.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CanceledStateContext
constructor
A new instance of CanceledStateContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CanceledStateContext
Returns a new instance of CanceledStateContext.
1298 1299 1300 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#developer_initiated_cancellation ⇒ Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation
Information specific to cancellations initiated by developers.
Corresponds to the JSON property developerInitiatedCancellation
1281 1282 1283 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1281 def developer_initiated_cancellation @developer_initiated_cancellation end |
#replacement_cancellation ⇒ Google::Apis::AndroidpublisherV3::ReplacementCancellation
Information specific to cancellations caused by subscription replacement.
Corresponds to the JSON property replacementCancellation
1286 1287 1288 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1286 def replacement_cancellation @replacement_cancellation end |
#system_initiated_cancellation ⇒ Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation
Information specific to cancellations initiated by Google system.
Corresponds to the JSON property systemInitiatedCancellation
1291 1292 1293 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1291 def system_initiated_cancellation @system_initiated_cancellation end |
#user_initiated_cancellation ⇒ Google::Apis::AndroidpublisherV3::UserInitiatedCancellation
Information specific to cancellations initiated by users.
Corresponds to the JSON property userInitiatedCancellation
1296 1297 1298 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1296 def user_initiated_cancellation @user_initiated_cancellation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1303 1304 1305 1306 1307 1308 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1303 def update!(**args) @developer_initiated_cancellation = args[:developer_initiated_cancellation] if args.key?(:developer_initiated_cancellation) @replacement_cancellation = args[:replacement_cancellation] if args.key?(:replacement_cancellation) @system_initiated_cancellation = args[:system_initiated_cancellation] if args.key?(:system_initiated_cancellation) @user_initiated_cancellation = args[:user_initiated_cancellation] if args.key?(:user_initiated_cancellation) end |