Class: Stripe::AccountPersonService::UpdateParams::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.



299
300
301
302
303
# File 'lib/stripe/services/account_person_service.rb', line 299

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



293
294
295
# File 'lib/stripe/services/account_person_service.rb', line 293

def ethnicity_details
  @ethnicity_details
end

#race_detailsObject

The persons race details



295
296
297
# File 'lib/stripe/services/account_person_service.rb', line 295

def race_details
  @race_details
end

#self_identified_genderObject

The persons self-identified gender



297
298
299
# File 'lib/stripe/services/account_person_service.rb', line 297

def self_identified_gender
  @self_identified_gender
end