Class: Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna

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



286
287
288
# File 'lib/stripe/services/setup_intent_service.rb', line 286

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

Instance Attribute Details

#dobObject

Customer’s date of birth



284
285
286
# File 'lib/stripe/services/setup_intent_service.rb', line 284

def dob
  @dob
end