Class: Google::Apis::AndroidpublisherV3::DeferSubscriptionPurchaseRequest

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 v2 purchases.subscriptions.defer API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeferSubscriptionPurchaseRequest

Returns a new instance of DeferSubscriptionPurchaseRequest.



2922
2923
2924
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2922

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

Instance Attribute Details

#deferral_contextGoogle::Apis::AndroidpublisherV3::DeferralContext

Deferral context of the purchases.subscriptionsv2.defer API. Corresponds to the JSON property deferralContext



2920
2921
2922
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2920

def deferral_context
  @deferral_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2927
2928
2929
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2927

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