Class: Stripe::AccountPersonService::CreateParams::UsCfpbData

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



801
802
803
804
805
# File 'lib/stripe/services/account_person_service.rb', line 801

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



795
796
797
# File 'lib/stripe/services/account_person_service.rb', line 795

def ethnicity_details
  @ethnicity_details
end

#race_detailsObject

The persons race details



797
798
799
# File 'lib/stripe/services/account_person_service.rb', line 797

def race_details
  @race_details
end

#self_identified_genderObject

The persons self-identified gender



799
800
801
# File 'lib/stripe/services/account_person_service.rb', line 799

def self_identified_gender
  @self_identified_gender
end