Class: Stripe::TokenCreateParams::Person::UsCfpbData::RaceDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/token_create_params.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.



998
999
1000
1001
# File 'lib/stripe/params/token_create_params.rb', line 998

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

Instance Attribute Details

#raceObject

The persons race.



994
995
996
# File 'lib/stripe/params/token_create_params.rb', line 994

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



996
997
998
# File 'lib/stripe/params/token_create_params.rb', line 996

def race_other
  @race_other
end