Class: Stripe::PaymentMethod::CreateParams::IdBankTransfer

Inherits:
RequestParams
  • Object
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) ⇒ IdBankTransfer

Returns a new instance of IdBankTransfer.



933
934
935
# File 'lib/stripe/resources/payment_method.rb', line 933

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

Instance Attribute Details

#bankObject

Bank where the account is held.



931
932
933
# File 'lib/stripe/resources/payment_method.rb', line 931

def bank
  @bank
end