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.



2244
2245
2246
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2244

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



2242
2243
2244
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2242

def deferral_context
  @deferral_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2249
2250
2251
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2249

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