Class: Stripe::Token::CreateParams::Person::UsCfpbData::EthnicityDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Token::CreateParams::Person::UsCfpbData::EthnicityDetails
- Defined in:
- lib/stripe/resources/token.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
Constructor Details
#initialize(ethnicity: nil, ethnicity_other: nil) ⇒ EthnicityDetails
Returns a new instance of EthnicityDetails.
1000 1001 1002 1003 |
# File 'lib/stripe/resources/token.rb', line 1000 def initialize(ethnicity: nil, ethnicity_other: nil) @ethnicity = ethnicity @ethnicity_other = ethnicity_other end |
Instance Attribute Details
#ethnicity ⇒ Object
The persons ethnicity
996 997 998 |
# File 'lib/stripe/resources/token.rb', line 996 def ethnicity @ethnicity end |
#ethnicity_other ⇒ Object
Please specify your origin, when other is selected.
998 999 1000 |
# File 'lib/stripe/resources/token.rb', line 998 def ethnicity_other @ethnicity_other end |