Class: Stripe::PaymentIntent::UpdateParams::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.



8476
8477
8478
8479
8480
# File 'lib/stripe/resources/payment_intent.rb', line 8476

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.



8470
8471
8472
# File 'lib/stripe/resources/payment_intent.rb', line 8470

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



8472
8473
8474
# File 'lib/stripe/resources/payment_intent.rb', line 8472

def month
  @month
end

#yearObject

The four-digit year of birth.



8474
8475
8476
# File 'lib/stripe/resources/payment_intent.rb', line 8474

def year
  @year
end