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 canceled 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.
518 519 520 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 518 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
501 502 503 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 501 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
506 507 508 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 506 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
511 512 513 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 511 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
516 517 518 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 516 def user_initiated_cancellation @user_initiated_cancellation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
523 524 525 526 527 528 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 523 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 |