Class: Stripe::Token::CreateParams::Person::UsCfpbData::RaceDetails

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



1012
1013
1014
1015
# File 'lib/stripe/resources/token.rb', line 1012

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

Instance Attribute Details

#raceObject

The persons race.



1008
1009
1010
# File 'lib/stripe/resources/token.rb', line 1008

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



1010
1011
1012
# File 'lib/stripe/resources/token.rb', line 1010

def race_other
  @race_other
end