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.



7562
7563
7564
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7562

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)


7560
7561
7562
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7560

def class_id
  @class_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7567
7568
7569
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 7567

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