Class: Stripe::PaymentMethodService::CreateParams::Payto
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodService::CreateParams::Payto
- Defined in:
- lib/stripe/services/payment_method_service.rb
Instance Attribute Summary collapse
-
#account_number ⇒ Object
The account number for the bank account.
-
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
-
#pay_id ⇒ Object
The PayID alias for the bank account.
Instance Method Summary collapse
-
#initialize(account_number: nil, bsb_number: nil, pay_id: nil) ⇒ Payto
constructor
A new instance of Payto.
Methods inherited from RequestParams
Constructor Details
#initialize(account_number: nil, bsb_number: nil, pay_id: nil) ⇒ Payto
Returns a new instance of Payto.
373 374 375 376 377 |
# File 'lib/stripe/services/payment_method_service.rb', line 373 def initialize(account_number: nil, bsb_number: nil, pay_id: nil) @account_number = account_number @bsb_number = bsb_number @pay_id = pay_id end |
Instance Attribute Details
#account_number ⇒ Object
The account number for the bank account.
367 368 369 |
# File 'lib/stripe/services/payment_method_service.rb', line 367 def account_number @account_number end |
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
369 370 371 |
# File 'lib/stripe/services/payment_method_service.rb', line 369 def bsb_number @bsb_number end |
#pay_id ⇒ Object
The PayID alias for the bank account.
371 372 373 |
# File 'lib/stripe/services/payment_method_service.rb', line 371 def pay_id @pay_id end |