Class: Stripe::PaymentIntentUpdateParams::PaymentMethodData::Klarna::Dob

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



1111
1112
1113
1114
1115
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1111

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.



1105
1106
1107
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1105

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1107
1108
1109
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1107

def month
  @month
end

#yearObject

The four-digit year of birth.



1109
1110
1111
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1109

def year
  @year
end