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.



7093
7094
7095
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7093

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)


7091
7092
7093
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7091

def purchase_state
  @purchase_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7098
7099
7100
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7098

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