Class: Stripe::PaymentMethod::UpdateParams::Payto

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, bsb_number: nil, pay_id: nil) ⇒ Payto

Returns a new instance of Payto.



1453
1454
1455
1456
1457
# File 'lib/stripe/resources/payment_method.rb', line 1453

def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
  @account_number = 
  @bsb_number = bsb_number
  @pay_id = pay_id
end

Instance Attribute Details

#account_numberObject

The account number for the bank account.



1447
1448
1449
# File 'lib/stripe/resources/payment_method.rb', line 1447

def 
  @account_number
end

#bsb_numberObject

Bank-State-Branch number of the bank account.



1449
1450
1451
# File 'lib/stripe/resources/payment_method.rb', line 1449

def bsb_number
  @bsb_number
end

#pay_idObject

The PayID alias for the bank account.



1451
1452
1453
# File 'lib/stripe/resources/payment_method.rb', line 1451

def pay_id
  @pay_id
end