Class: Stripe::Issuing::CardholderUpdateParams::Individual::Dob

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(day: nil, month: nil, year: nil) ⇒ Dob

Returns a new instance of Dob.



87
88
89
90
91
# File 'lib/stripe/params/issuing/cardholder_update_params.rb', line 87

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

Instance Attribute Details

#dayObject

The day of birth, between 1 and 31.



81
82
83
# File 'lib/stripe/params/issuing/cardholder_update_params.rb', line 81

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



83
84
85
# File 'lib/stripe/params/issuing/cardholder_update_params.rb', line 83

def month
  @month
end

#yearObject

The four-digit year of birth.



85
86
87
# File 'lib/stripe/params/issuing/cardholder_update_params.rb', line 85

def year
  @year
end