Class: Stripe::ConfirmationToken::CreateParams::PaymentMethodData::Rechnung::Dob

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



1172
1173
1174
1175
1176
# File 'lib/stripe/resources/confirmation_token.rb', line 1172

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.



1166
1167
1168
# File 'lib/stripe/resources/confirmation_token.rb', line 1166

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1168
1169
1170
# File 'lib/stripe/resources/confirmation_token.rb', line 1168

def month
  @month
end

#yearObject

The four-digit year of birth.



1170
1171
1172
# File 'lib/stripe/resources/confirmation_token.rb', line 1170

def year
  @year
end