Class: Google::Apis::AndroidpublisherV3::CancelSubscriptionPurchaseRequest

Inherits:
Object
  • Object
show all
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

Request for the purchases.subscriptionsv2.cancel API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CancelSubscriptionPurchaseRequest

Returns a new instance of CancelSubscriptionPurchaseRequest.



1769
1770
1771
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1769

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cancellation_contextGoogle::Apis::AndroidpublisherV3::CancellationContext

Cancellation context of the purchases.subscriptionsv2.cancel API. Corresponds to the JSON property cancellationContext



1767
1768
1769
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1767

def cancellation_context
  @cancellation_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1774
1775
1776
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1774

def update!(**args)
  @cancellation_context = args[:cancellation_context] if args.key?(:cancellation_context)
end