Class: Stripe::AccountPersonService::UpdateParams::UsCfpbData::RaceDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_person_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(race: nil, race_other: nil) ⇒ RaceDetails

Returns a new instance of RaceDetails.



287
288
289
290
# File 'lib/stripe/services/account_person_service.rb', line 287

def initialize(race: nil, race_other: nil)
  @race = race
  @race_other = race_other
end

Instance Attribute Details

#raceObject

The persons race.



283
284
285
# File 'lib/stripe/services/account_person_service.rb', line 283

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



285
286
287
# File 'lib/stripe/services/account_person_service.rb', line 285

def race_other
  @race_other
end