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.



10769
10770
10771
# File 'lib/stripe/services/payment_intent_service.rb', line 10769

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

Instance Attribute Details

#cardObject

Configuration for any card payments attempted on this PaymentIntent.



10767
10768
10769
# File 'lib/stripe/services/payment_intent_service.rb', line 10767

def card
  @card
end