Class: Stripe::PaymentMethod::CreateParams::AcssDebit

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, institution_number: nil, transit_number: nil) ⇒ AcssDebit

Returns a new instance of AcssDebit.



1519
1520
1521
1522
1523
# File 'lib/stripe/resources/payment_method.rb', line 1519

def initialize(account_number: nil, institution_number: nil, transit_number: nil)
  @account_number = 
  @institution_number = institution_number
  @transit_number = transit_number
end

Instance Attribute Details

#account_numberObject

Customer’s bank account number.



1513
1514
1515
# File 'lib/stripe/resources/payment_method.rb', line 1513

def 
  @account_number
end

#institution_numberObject

Institution number of the customer’s bank.



1515
1516
1517
# File 'lib/stripe/resources/payment_method.rb', line 1515

def institution_number
  @institution_number
end

#transit_numberObject

Transit number of the customer’s bank.



1517
1518
1519
# File 'lib/stripe/resources/payment_method.rb', line 1517

def transit_number
  @transit_number
end