Class: Stripe::TokenCreateParams::Person::UsCfpbData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenCreateParams::Person::UsCfpbData
- Defined in:
- lib/stripe/params/token_create_params.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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil) ⇒ UsCfpbData
Returns a new instance of UsCfpbData.
1132 1133 1134 1135 1136 |
# File 'lib/stripe/params/token_create_params.rb', line 1132 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
1126 1127 1128 |
# File 'lib/stripe/params/token_create_params.rb', line 1126 def ethnicity_details @ethnicity_details end |
#race_details ⇒ Object
The persons race details
1128 1129 1130 |
# File 'lib/stripe/params/token_create_params.rb', line 1128 def race_details @race_details end |
#self_identified_gender ⇒ Object
The persons self-identified gender
1130 1131 1132 |
# File 'lib/stripe/params/token_create_params.rb', line 1130 def self_identified_gender @self_identified_gender end |