Class: Stripe::PaymentIntent::CreateParams::PaymentMethodData::Rechnung::Dob

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



3100
3101
3102
3103
3104
# File 'lib/stripe/resources/payment_intent.rb', line 3100

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.



3094
3095
3096
# File 'lib/stripe/resources/payment_intent.rb', line 3094

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



3096
3097
3098
# File 'lib/stripe/resources/payment_intent.rb', line 3096

def month
  @month
end

#yearObject

The four-digit year of birth.



3098
3099
3100
# File 'lib/stripe/resources/payment_intent.rb', line 3098

def year
  @year
end