Class: Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::Rechnung::Dob

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



8849
8850
8851
8852
8853
# File 'lib/stripe/services/payment_intent_service.rb', line 8849

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.



8843
8844
8845
# File 'lib/stripe/services/payment_intent_service.rb', line 8843

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



8845
8846
8847
# File 'lib/stripe/services/payment_intent_service.rb', line 8845

def month
  @month
end

#yearObject

The four-digit year of birth.



8847
8848
8849
# File 'lib/stripe/services/payment_intent_service.rb', line 8847

def year
  @year
end