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.



2608
2609
2610
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2608

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



2606
2607
2608
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2606

def deferral_context
  @deferral_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2613
2614
2615
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2613

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