Class: Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BacsDebit

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(account_number: nil, sort_code: nil) ⇒ BacsDebit

Returns a new instance of BacsDebit.



2520
2521
2522
2523
# File 'lib/stripe/resources/setup_intent.rb', line 2520

def initialize(account_number: nil, sort_code: nil)
  @account_number = 
  @sort_code = sort_code
end

Instance Attribute Details

#account_numberObject

Account number of the bank account that the funds will be debited from.



2516
2517
2518
# File 'lib/stripe/resources/setup_intent.rb', line 2516

def 
  @account_number
end

#sort_codeObject

Sort code of the bank account. (e.g., ‘10-20-30`)



2518
2519
2520
# File 'lib/stripe/resources/setup_intent.rb', line 2518

def sort_code
  @sort_code
end