Class: Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung::Dob

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



3009
3010
3011
3012
3013
# File 'lib/stripe/services/setup_intent_service.rb', line 3009

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.



3003
3004
3005
# File 'lib/stripe/services/setup_intent_service.rb', line 3003

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



3005
3006
3007
# File 'lib/stripe/services/setup_intent_service.rb', line 3005

def month
  @month
end

#yearObject

The four-digit year of birth.



3007
3008
3009
# File 'lib/stripe/services/setup_intent_service.rb', line 3007

def year
  @year
end