Class: Google::Apis::AndroidpublisherV3::RenewalDeclinedContext

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

Context related to renewal declined scenario.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RenewalDeclinedContext

Returns a new instance of RenewalDeclinedContext.



9262
9263
9264
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9262

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

Instance Attribute Details

#pending_order_idString

Required. The ID of the pending or failed order causing the state. Corresponds to the JSON property pendingOrderId

Returns:

  • (String)


9260
9261
9262
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9260

def pending_order_id
  @pending_order_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9267
9268
9269
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 9267

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