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.



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

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

Instance Attribute Details

#raceObject

The persons race.



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

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



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

def race_other
  @race_other
end