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.



979
980
981
982
# File 'lib/stripe/params/token_create_params.rb', line 979

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

Instance Attribute Details

#raceObject

The persons race.



975
976
977
# File 'lib/stripe/params/token_create_params.rb', line 975

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



977
978
979
# File 'lib/stripe/params/token_create_params.rb', line 977

def race_other
  @race_other
end