Class: Stripe::PaymentIntentCreateParams::PaymentMethodData::BacsDebit

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of BacsDebit.



1982
1983
1984
1985
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1982

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.



1978
1979
1980
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1978

def 
  @account_number
end

#sort_codeObject

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



1980
1981
1982
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1980

def sort_code
  @sort_code
end