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.



2263
2264
2265
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2263

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



2261
2262
2263
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2261

def deferral_context
  @deferral_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2268
2269
2270
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2268

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