Class: Lithic::Models::WirePartyDetails

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/wire_party_details.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(account_number: nil, agent_id: nil, agent_name: nil, name: nil) ⇒ Object

Parameters:

  • account_number (String, nil) (defaults to: nil)

    Account number

  • agent_id (String, nil) (defaults to: nil)

    Routing number or BIC of the financial institution

  • agent_name (String, nil) (defaults to: nil)

    Name of the financial institution

  • name (String, nil) (defaults to: nil)

    Name of the person or company



# File 'lib/lithic/models/wire_party_details.rb', line 30

Instance Attribute Details

#account_numberString?

Account number

Returns:

  • (String, nil)


10
# File 'lib/lithic/models/wire_party_details.rb', line 10

optional :account_number, String, nil?: true

#agent_idString?

Routing number or BIC of the financial institution

Returns:

  • (String, nil)


16
# File 'lib/lithic/models/wire_party_details.rb', line 16

optional :agent_id, String, nil?: true

#agent_nameString?

Name of the financial institution

Returns:

  • (String, nil)


22
# File 'lib/lithic/models/wire_party_details.rb', line 22

optional :agent_name, String, nil?: true

#nameString?

Name of the person or company

Returns:

  • (String, nil)


28
# File 'lib/lithic/models/wire_party_details.rb', line 28

optional :name, String, nil?: true