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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of EthnicityDetails.



297
298
299
300
# File 'lib/stripe/params/account_person_update_params.rb', line 297

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

Instance Attribute Details

#ethnicityObject

The persons ethnicity



293
294
295
# File 'lib/stripe/params/account_person_update_params.rb', line 293

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



295
296
297
# File 'lib/stripe/params/account_person_update_params.rb', line 295

def ethnicity_other
  @ethnicity_other
end