Class: Stripe::PaymentMethodService::CreateParams::Klarna

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_method_service.rb

Defined Under Namespace

Classes: Dob

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(dob: nil) ⇒ Klarna

Returns a new instance of Klarna.



263
264
265
# File 'lib/stripe/services/payment_method_service.rb', line 263

def initialize(dob: nil)
  @dob = dob
end

Instance Attribute Details

#dobObject

Customer’s date of birth



261
262
263
# File 'lib/stripe/services/payment_method_service.rb', line 261

def dob
  @dob
end