Class: Stripe::Token::CreateParams::Person::UsCfpbData

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



1024
1025
1026
1027
1028
# File 'lib/stripe/resources/token.rb', line 1024

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



1018
1019
1020
# File 'lib/stripe/resources/token.rb', line 1018

def ethnicity_details
  @ethnicity_details
end

#race_detailsObject

The persons race details



1020
1021
1022
# File 'lib/stripe/resources/token.rb', line 1020

def race_details
  @race_details
end

#self_identified_genderObject

The persons self-identified gender



1022
1023
1024
# File 'lib/stripe/resources/token.rb', line 1022

def self_identified_gender
  @self_identified_gender
end