Class: Stripe::TokenService::CreateParams::Person::UsCfpbData::RaceDetails

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



994
995
996
997
# File 'lib/stripe/services/token_service.rb', line 994

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

Instance Attribute Details

#raceObject

The persons race.



990
991
992
# File 'lib/stripe/services/token_service.rb', line 990

def race
  @race
end

#race_otherObject

Please specify your race, when other is selected.



992
993
994
# File 'lib/stripe/services/token_service.rb', line 992

def race_other
  @race_other
end