Class: Google::Apis::AndroidpublisherV3::PurchaseStateContext

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 about the purchase state.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PurchaseStateContext

Returns a new instance of PurchaseStateContext.



7073
7074
7075
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7073

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

Instance Attribute Details

#purchase_stateString

Output only. The purchase state of the purchase. Corresponds to the JSON property purchaseState

Returns:

  • (String)


7071
7072
7073
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7071

def purchase_state
  @purchase_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7078
7079
7080
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7078

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