Class: Stripe::TokenCreateParams::Person::UsCfpbData::RaceDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenCreateParams::Person::UsCfpbData::RaceDetails
- Defined in:
- lib/stripe/params/token_create_params.rb
Instance Attribute Summary collapse
-
#race ⇒ Object
The persons race.
-
#race_other ⇒ Object
Please specify your race, when other is selected.
Instance Method Summary collapse
-
#initialize(race: nil, race_other: nil) ⇒ RaceDetails
constructor
A new instance of RaceDetails.
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.
1120 1121 1122 1123 |
# File 'lib/stripe/params/token_create_params.rb', line 1120 def initialize(race: nil, race_other: nil) @race = race @race_other = race_other end |
Instance Attribute Details
#race ⇒ Object
The persons race.
1116 1117 1118 |
# File 'lib/stripe/params/token_create_params.rb', line 1116 def race @race end |
#race_other ⇒ Object
Please specify your race, when other is selected.
1118 1119 1120 |
# File 'lib/stripe/params/token_create_params.rb', line 1118 def race_other @race_other end |