Class: Stripe::AccountPersonUpdateParams::UsCfpbData::EthnicityDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_person_update_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.



249
250
251
252
# File 'lib/stripe/params/account_person_update_params.rb', line 249

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

Instance Attribute Details

#ethnicityObject

The persons ethnicity



245
246
247
# File 'lib/stripe/params/account_person_update_params.rb', line 245

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



247
248
249
# File 'lib/stripe/params/account_person_update_params.rb', line 247

def ethnicity_other
  @ethnicity_other
end