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.



1214
1215
1216
1217
1218
# File 'lib/stripe/resources/confirmation_token.rb', line 1214

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.



1208
1209
1210
# File 'lib/stripe/resources/confirmation_token.rb', line 1208

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1210
1211
1212
# File 'lib/stripe/resources/confirmation_token.rb', line 1210

def month
  @month
end

#yearObject

The four-digit year of birth.



1212
1213
1214
# File 'lib/stripe/resources/confirmation_token.rb', line 1212

def year
  @year
end