Class: GustoEmbedded::Models::Shared::ContractorBankAccountCreateRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorBankAccountCreateRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_bank_account_create_request_body.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, routing_number:, account_number:, account_type:) ⇒ ContractorBankAccountCreateRequestBody
constructor
A new instance of ContractorBankAccountCreateRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name:, routing_number:, account_number:, account_type:) ⇒ ContractorBankAccountCreateRequestBody
Returns a new instance of ContractorBankAccountCreateRequestBody.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/contractor_bank_account_create_request_body.rb', line 25 def initialize(name:, routing_number:, account_number:, account_type:) @name = name @routing_number = routing_number @account_number = account_number @account_type = account_type end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/gusto_embedded/models/shared/contractor_bank_account_create_request_body.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @routing_number == other.routing_number return false unless @account_number == other.account_number return false unless @account_type == other.account_type true end |