Class: Stripe::AccountPersonService::UpdateParams::UsCfpbData::EthnicityDetails

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



276
277
278
279
# File 'lib/stripe/services/account_person_service.rb', line 276

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

Instance Attribute Details

#ethnicityObject

The persons ethnicity



272
273
274
# File 'lib/stripe/services/account_person_service.rb', line 272

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



274
275
276
# File 'lib/stripe/services/account_person_service.rb', line 274

def ethnicity_other
  @ethnicity_other
end