Class: Stripe::PaymentMethod::CreateParams::BacsDebit

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

Returns a new instance of BacsDebit.



719
720
721
722
# File 'lib/stripe/resources/payment_method.rb', line 719

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.



715
716
717
# File 'lib/stripe/resources/payment_method.rb', line 715

def 
  @account_number
end

#sort_codeObject

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



717
718
719
# File 'lib/stripe/resources/payment_method.rb', line 717

def sort_code
  @sort_code
end