Class: Google::Apis::WalletobjectsV1::SignUpInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SignUpInfo

Returns a new instance of SignUpInfo.



7125
7126
7127
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7125

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

Instance Attribute Details

#class_idString

ID of the class the user can sign up for. Corresponds to the JSON property classId

Returns:

  • (String)


7123
7124
7125
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7123

def class_id
  @class_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7130
7131
7132
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7130

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