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.



986
987
988
989
# File 'lib/stripe/params/token_create_params.rb', line 986

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

Instance Attribute Details

#ethnicityObject

The persons ethnicity



982
983
984
# File 'lib/stripe/params/token_create_params.rb', line 982

def ethnicity
  @ethnicity
end

#ethnicity_otherObject

Please specify your origin, when other is selected.



984
985
986
# File 'lib/stripe/params/token_create_params.rb', line 984

def ethnicity_other
  @ethnicity_other
end