Class: Stripe::V2::Payments::OffSessionPaymentCreateParams::PaymentMethodOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/payments/off_session_payment_create_params.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.



46
47
48
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 46

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

Instance Attribute Details

#cardObject

Payment method options for the card payment type.



44
45
46
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 44

def card
  @card
end