Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::Individual::DateOfBirth

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_token_create_params.rb

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(day: nil, month: nil, year: nil) ⇒ DateOfBirth

Returns a new instance of DateOfBirth.



652
653
654
655
656
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 652

def initialize(day: nil, month: nil, year: nil)
  @day = day
  @month = month
  @year = year
end

Instance Attribute Details

#dayObject

The day of the birth.



646
647
648
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 646

def day
  @day
end

#monthObject

The month of birth.



648
649
650
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 648

def month
  @month
end

#yearObject

The year of birth.



650
651
652
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 650

def year
  @year
end