Class: Stripe::PaymentMethodCreateParams::BacsDebit

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



45
46
47
48
# File 'lib/stripe/params/payment_method_create_params.rb', line 45

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.



41
42
43
# File 'lib/stripe/params/payment_method_create_params.rb', line 41

def 
  @account_number
end

#sort_codeObject

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



43
44
45
# File 'lib/stripe/params/payment_method_create_params.rb', line 43

def sort_code
  @sort_code
end