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.



1693
1694
1695
# File 'lib/stripe/resources/payment_method.rb', line 1693

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

Instance Attribute Details

#bankObject

Bank where the account is held.



1691
1692
1693
# File 'lib/stripe/resources/payment_method.rb', line 1691

def bank
  @bank
end