Class: Moov::Models::Operations::LinkBankAccountRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::LinkBankAccountRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/linkbankaccount_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, link_bank_account:, x_wait_for: nil, x_moov_version: 'v2024.01.00') ⇒ LinkBankAccountRequest
constructor
A new instance of LinkBankAccountRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, link_bank_account:, x_wait_for: nil, x_moov_version: 'v2024.01.00') ⇒ LinkBankAccountRequest
Returns a new instance of LinkBankAccountRequest.
37 38 39 40 41 42 |
# File 'lib/moov/models/operations/linkbankaccount_request.rb', line 37 def initialize(account_id:, link_bank_account:, x_wait_for: nil, x_moov_version: 'v2024.01.00') @account_id = account_id @link_bank_account = link_bank_account @x_wait_for = x_wait_for @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'lib/moov/models/operations/linkbankaccount_request.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @link_bank_account == other.link_bank_account return false unless @x_wait_for == other.x_wait_for return false unless @x_moov_version == other.x_moov_version true end |