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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/token_create_params.rb

Defined Under Namespace

Classes: EthnicityDetails, RaceDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil) ⇒ UsCfpbData

Returns a new instance of UsCfpbData.



1010
1011
1012
1013
1014
# File 'lib/stripe/params/token_create_params.rb', line 1010

def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil)
  @ethnicity_details = ethnicity_details
  @race_details = race_details
  @self_identified_gender = self_identified_gender
end

Instance Attribute Details

#ethnicity_detailsObject

The persons ethnicity details



1004
1005
1006
# File 'lib/stripe/params/token_create_params.rb', line 1004

def ethnicity_details
  @ethnicity_details
end

#race_detailsObject

The persons race details



1006
1007
1008
# File 'lib/stripe/params/token_create_params.rb', line 1006

def race_details
  @race_details
end

#self_identified_genderObject

The persons self-identified gender



1008
1009
1010
# File 'lib/stripe/params/token_create_params.rb', line 1008

def self_identified_gender
  @self_identified_gender
end