Class: Stripe::AccountPersonCreateParams::UsCfpbData

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

Defined Under Namespace

Classes: EthnicityDetails, RaceDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of UsCfpbData.



321
322
323
324
325
# File 'lib/stripe/params/account_person_create_params.rb', line 321

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



315
316
317
# File 'lib/stripe/params/account_person_create_params.rb', line 315

def ethnicity_details
  @ethnicity_details
end

#race_detailsObject

The persons race details



317
318
319
# File 'lib/stripe/params/account_person_create_params.rb', line 317

def race_details
  @race_details
end

#self_identified_genderObject

The persons self-identified gender



319
320
321
# File 'lib/stripe/params/account_person_create_params.rb', line 319

def self_identified_gender
  @self_identified_gender
end