Class: Stripe::AccountPersonService::CreateParams::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.



777
778
779
780
# File 'lib/stripe/services/account_person_service.rb', line 777

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

Instance Attribute Details

#ethnicityObject

The persons ethnicity



773
774
775
# File 'lib/stripe/services/account_person_service.rb', line 773

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



775
776
777
# File 'lib/stripe/services/account_person_service.rb', line 775

def ethnicity_other
  @ethnicity_other
end