Class: Stripe::PaymentMethodCreateParams::Payto
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodCreateParams::Payto
- Defined in:
- lib/stripe/params/payment_method_create_params.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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(account_number: nil, bsb_number: nil, pay_id: nil) ⇒ Payto
Returns a new instance of Payto.
310 311 312 313 314 |
# File 'lib/stripe/params/payment_method_create_params.rb', line 310 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.
304 305 306 |
# File 'lib/stripe/params/payment_method_create_params.rb', line 304 def account_number @account_number end |
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
306 307 308 |
# File 'lib/stripe/params/payment_method_create_params.rb', line 306 def bsb_number @bsb_number end |
#pay_id ⇒ Object
The PayID alias for the bank account.
308 309 310 |
# File 'lib/stripe/params/payment_method_create_params.rb', line 308 def pay_id @pay_id end |