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.



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

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



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

def ethnicity_details
  @ethnicity_details
end

#race_detailsObject

The persons race details



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

def race_details
  @race_details
end

#self_identified_genderObject

The persons self-identified gender



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

def self_identified_gender
  @self_identified_gender
end