Class: Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Payto

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/test_helpers/confirmation_token_service.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.



265
266
267
268
269
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 265

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.



259
260
261
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 259

def 
  @account_number
end

#bsb_numberObject

Bank-State-Branch number of the bank account.



261
262
263
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 261

def bsb_number
  @bsb_number
end

#pay_idObject

The PayID alias for the bank account.



263
264
265
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 263

def pay_id
  @pay_id
end