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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(card: nil) ⇒ PaymentMethodOptions

Returns a new instance of PaymentMethodOptions.



226
227
228
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 226

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

Instance Attribute Details

#cardObject

Payment method options for the card payment type.



224
225
226
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 224

def card
  @card
end