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.



7016
7017
7018
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7016

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)


7014
7015
7016
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7014

def class_id
  @class_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7021
7022
7023
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7021

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