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.



685
686
687
688
689
# File 'lib/stripe/resources/payment_method.rb', line 685

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.



679
680
681
# File 'lib/stripe/resources/payment_method.rb', line 679

def 
  @account_number
end

#institution_numberObject

Institution number of the customer’s bank.



681
682
683
# File 'lib/stripe/resources/payment_method.rb', line 681

def institution_number
  @institution_number
end

#transit_numberObject

Transit number of the customer’s bank.



683
684
685
# File 'lib/stripe/resources/payment_method.rb', line 683

def transit_number
  @transit_number
end