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.
331 332 333 334 335 |
# File 'lib/stripe/services/payment_method_service.rb', line 331 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.
325 326 327 |
# File 'lib/stripe/services/payment_method_service.rb', line 325 def account_number @account_number end |
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
327 328 329 |
# File 'lib/stripe/services/payment_method_service.rb', line 327 def bsb_number @bsb_number end |
#pay_id ⇒ Object
The PayID alias for the bank account.
329 330 331 |
# File 'lib/stripe/services/payment_method_service.rb', line 329 def pay_id @pay_id end |