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.



7034
7035
7036
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7034

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)


7032
7033
7034
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7032

def purchase_state
  @purchase_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7039
7040
7041
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 7039

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