Class: Stripe::PaymentIntentService::CreateParams::PaymentMethodData::IdBankTransfer

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_intent_service.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.



980
981
982
# File 'lib/stripe/services/payment_intent_service.rb', line 980

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

Instance Attribute Details

#bankObject

Bank where the account is held.



978
979
980
# File 'lib/stripe/services/payment_intent_service.rb', line 978

def bank
  @bank
end