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.



12066
12067
12068
# File 'lib/stripe/services/payment_intent_service.rb', line 12066

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

Instance Attribute Details

#cardObject

Configuration for any card payments attempted on this PaymentIntent.



12064
12065
12066
# File 'lib/stripe/services/payment_intent_service.rb', line 12064

def card
  @card
end