Class: Stripe::AccountPersonService::CreateParams::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.



789
790
791
792
# File 'lib/stripe/services/account_person_service.rb', line 789

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

Instance Attribute Details

#raceObject

The persons race.



785
786
787
# File 'lib/stripe/services/account_person_service.rb', line 785

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



787
788
789
# File 'lib/stripe/services/account_person_service.rb', line 787

def race_other
  @race_other
end