Class: Stripe::PaymentMethod::CreateParams::P24

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/payment_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(bank: nil) ⇒ P24

Returns a new instance of P24.



942
943
944
# File 'lib/stripe/resources/payment_method.rb', line 942

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

Instance Attribute Details

#bankObject

The customer’s bank.



940
941
942
# File 'lib/stripe/resources/payment_method.rb', line 940

def bank
  @bank
end