Class: Stripe::Token::CreateParams::Person::UsCfpbData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Token::CreateParams::Person::UsCfpbData
- Defined in:
- lib/stripe/resources/token.rb
Defined Under Namespace
Classes: EthnicityDetails, RaceDetails
Instance Attribute Summary collapse
-
#ethnicity_details ⇒ Object
The persons ethnicity details.
-
#race_details ⇒ Object
The persons race details.
-
#self_identified_gender ⇒ Object
The persons self-identified gender.
Instance Method Summary collapse
-
#initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil) ⇒ UsCfpbData
constructor
A new instance of UsCfpbData.
Methods inherited from RequestParams
Constructor Details
#initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil) ⇒ UsCfpbData
Returns a new instance of UsCfpbData.
1024 1025 1026 1027 1028 |
# File 'lib/stripe/resources/token.rb', line 1024 def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil) @ethnicity_details = ethnicity_details @race_details = race_details @self_identified_gender = self_identified_gender end |
Instance Attribute Details
#ethnicity_details ⇒ Object
The persons ethnicity details
1018 1019 1020 |
# File 'lib/stripe/resources/token.rb', line 1018 def ethnicity_details @ethnicity_details end |
#race_details ⇒ Object
The persons race details
1020 1021 1022 |
# File 'lib/stripe/resources/token.rb', line 1020 def race_details @race_details end |
#self_identified_gender ⇒ Object
The persons self-identified gender
1022 1023 1024 |
# File 'lib/stripe/resources/token.rb', line 1022 def self_identified_gender @self_identified_gender end |