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.



2825
2826
2827
# File 'lib/stripe/resources/payment_intent.rb', line 2825

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

Instance Attribute Details

#bankObject

Bank where the account is held.



2823
2824
2825
# File 'lib/stripe/resources/payment_intent.rb', line 2823

def bank
  @bank
end