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.
534 535 536 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 534 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
517 518 519 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 517 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
522 523 524 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 522 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
527 528 529 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 527 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
532 533 534 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 532 def user_initiated_cancellation @user_initiated_cancellation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
539 540 541 542 543 544 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 539 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 |