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.



711
712
713
714
715
# File 'lib/stripe/resources/payment_method.rb', line 711

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.



705
706
707
# File 'lib/stripe/resources/payment_method.rb', line 705

def 
  @account_number
end

#institution_numberObject

Institution number of the customer’s bank.



707
708
709
# File 'lib/stripe/resources/payment_method.rb', line 707

def institution_number
  @institution_number
end

#transit_numberObject

Transit number of the customer’s bank.



709
710
711
# File 'lib/stripe/resources/payment_method.rb', line 709

def transit_number
  @transit_number
end