Class: Stripe::TokenCreateParams::Person::UsCfpbData::EthnicityDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenCreateParams::Person::UsCfpbData::EthnicityDetails
- Defined in:
- lib/stripe/params/token_create_params.rb
Instance Attribute Summary collapse
-
#ethnicity ⇒ Object
The persons ethnicity.
-
#ethnicity_other ⇒ Object
Please specify your origin, when other is selected.
Instance Method Summary collapse
-
#initialize(ethnicity: nil, ethnicity_other: nil) ⇒ EthnicityDetails
constructor
A new instance of EthnicityDetails.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(ethnicity: nil, ethnicity_other: nil) ⇒ EthnicityDetails
Returns a new instance of EthnicityDetails.
1180 1181 1182 1183 |
# File 'lib/stripe/params/token_create_params.rb', line 1180 def initialize(ethnicity: nil, ethnicity_other: nil) @ethnicity = ethnicity @ethnicity_other = ethnicity_other end |
Instance Attribute Details
#ethnicity ⇒ Object
The persons ethnicity
1176 1177 1178 |
# File 'lib/stripe/params/token_create_params.rb', line 1176 def ethnicity @ethnicity end |
#ethnicity_other ⇒ Object
Please specify your origin, when other is selected.
1178 1179 1180 |
# File 'lib/stripe/params/token_create_params.rb', line 1178 def ethnicity_other @ethnicity_other end |