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.
1824 1825 1826 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1824 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
1807 1808 1809 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1807 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
1812 1813 1814 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1812 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
1817 1818 1819 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1817 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
1822 1823 1824 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1822 def user_initiated_cancellation @user_initiated_cancellation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1829 1830 1831 1832 1833 1834 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1829 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 |