Class: Google::Apis::WalletobjectsV1::ActivationStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb

Overview

The activation status of the object. This field includes activation status if valuable supports activation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ActivationStatus

Returns a new instance of ActivationStatus.



64
65
66
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 64

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

Instance Attribute Details

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


62
63
64
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 62

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69
70
71
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 69

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