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.



1127
1128
1129
1130
1131
# File 'lib/stripe/resources/confirmation_token.rb', line 1127

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.



1121
1122
1123
# File 'lib/stripe/resources/confirmation_token.rb', line 1121

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1123
1124
1125
# File 'lib/stripe/resources/confirmation_token.rb', line 1123

def month
  @month
end

#yearObject

The four-digit year of birth.



1125
1126
1127
# File 'lib/stripe/resources/confirmation_token.rb', line 1125

def year
  @year
end