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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of RaceDetails.



1192
1193
1194
1195
# File 'lib/stripe/params/token_create_params.rb', line 1192

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

Instance Attribute Details

#raceObject

The persons race.



1188
1189
1190
# File 'lib/stripe/params/token_create_params.rb', line 1188

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



1190
1191
1192
# File 'lib/stripe/params/token_create_params.rb', line 1190

def race_other
  @race_other
end