Class: Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::BacsDebit

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(account_number: nil, sort_code: nil) ⇒ BacsDebit

Returns a new instance of BacsDebit.



2470
2471
2472
2473
# File 'lib/stripe/services/payment_intent_service.rb', line 2470

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.



2466
2467
2468
# File 'lib/stripe/services/payment_intent_service.rb', line 2466

def 
  @account_number
end

#sort_codeObject

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



2468
2469
2470
# File 'lib/stripe/services/payment_intent_service.rb', line 2468

def sort_code
  @sort_code
end