Class: Stripe::PaymentIntentService::IncrementAuthorizationParams::PaymentMethodOptions

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

Defined Under Namespace

Classes: Card

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(card: nil) ⇒ PaymentMethodOptions

Returns a new instance of PaymentMethodOptions.



11361
11362
11363
# File 'lib/stripe/services/payment_intent_service.rb', line 11361

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

Instance Attribute Details

#cardObject

Configuration for any card payments attempted on this PaymentIntent.



11359
11360
11361
# File 'lib/stripe/services/payment_intent_service.rb', line 11359

def card
  @card
end