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.



7721
7722
7723
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7721

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)


7719
7720
7721
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7719

def pending_order_id
  @pending_order_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7726
7727
7728
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7726

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