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.



1935
1936
1937
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1935

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



1933
1934
1935
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1933

def cancellation_context
  @cancellation_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1940
1941
1942
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 1940

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