Class: Stripe::SetupIntentCreateParams::PaymentMethodData::Payto
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::SetupIntentCreateParams::PaymentMethodData::Payto
- Defined in:
- lib/stripe/params/setup_intent_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.
324 325 326 327 328 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 324 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.
318 319 320 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 318 def account_number @account_number end |
#bsb_number ⇒ Object
Bank-State-Branch number of the bank account.
320 321 322 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 320 def bsb_number @bsb_number end |
#pay_id ⇒ Object
The PayID alias for the bank account.
322 323 324 |
# File 'lib/stripe/params/setup_intent_create_params.rb', line 322 def pay_id @pay_id end |