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.



7340
7341
7342
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7340

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)


7338
7339
7340
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7338

def class_id
  @class_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7345
7346
7347
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7345

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