Class: Stripe::TokenCreateParams::Person::UsCfpbData::EthnicityDetails

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



1042
1043
1044
1045
# File 'lib/stripe/params/token_create_params.rb', line 1042

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

Instance Attribute Details

#ethnicityObject

The persons ethnicity



1038
1039
1040
# File 'lib/stripe/params/token_create_params.rb', line 1038

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



1040
1041
1042
# File 'lib/stripe/params/token_create_params.rb', line 1040

def ethnicity_other
  @ethnicity_other
end