Class: Stripe::PaymentIntent::CreateParams::PaymentMethodData::IdBankTransfer

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(bank: nil) ⇒ IdBankTransfer

Returns a new instance of IdBankTransfer.



2811
2812
2813
# File 'lib/stripe/resources/payment_intent.rb', line 2811

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

Instance Attribute Details

#bankObject

Bank where the account is held.



2809
2810
2811
# File 'lib/stripe/resources/payment_intent.rb', line 2809

def bank
  @bank
end