Class: Stripe::AccountPersonCreateParams::UsCfpbData::EthnicityDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_person_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(ethnicity: nil, ethnicity_other: nil) ⇒ EthnicityDetails

Returns a new instance of EthnicityDetails.



273
274
275
276
# File 'lib/stripe/params/account_person_create_params.rb', line 273

def initialize(ethnicity: nil, ethnicity_other: nil)
  @ethnicity = ethnicity
  @ethnicity_other = ethnicity_other
end

Instance Attribute Details

#ethnicityObject

The persons ethnicity



269
270
271
# File 'lib/stripe/params/account_person_create_params.rb', line 269

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



271
272
273
# File 'lib/stripe/params/account_person_create_params.rb', line 271

def ethnicity_other
  @ethnicity_other
end