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.



688
689
690
691
692
# File 'lib/stripe/resources/payment_method.rb', line 688

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.



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

def 
  @account_number
end

#institution_numberObject

Institution number of the customer’s bank.



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

def institution_number
  @institution_number
end

#transit_numberObject

Transit number of the customer’s bank.



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

def transit_number
  @transit_number
end