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