Class: Stripe::PaymentIntentCreateParams::PaymentMethodData::Klarna::Dob

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



1141
1142
1143
1144
1145
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1141

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.



1135
1136
1137
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1135

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1137
1138
1139
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1137

def month
  @month
end

#yearObject

The four-digit year of birth.



1139
1140
1141
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1139

def year
  @year
end