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.



1133
1134
1135
1136
1137
# File 'lib/stripe/resources/confirmation_token.rb', line 1133

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.



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

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



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

def month
  @month
end

#yearObject

The four-digit year of birth.



1131
1132
1133
# File 'lib/stripe/resources/confirmation_token.rb', line 1131

def year
  @year
end