Class: GustoEmbedded::Models::Shared::ContractorPaymentDetailsListSplits
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorPaymentDetailsListSplits
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_payment_details_list_splits.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(bank_account_uuid: nil, name: nil, hidden_account_number: nil, routing_number: nil, priority: nil, account_type: nil, encrypted_account_number: nil, split_amount: nil) ⇒ ContractorPaymentDetailsListSplits
constructor
A new instance of ContractorPaymentDetailsListSplits.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(bank_account_uuid: nil, name: nil, hidden_account_number: nil, routing_number: nil, priority: nil, account_type: nil, encrypted_account_number: nil, split_amount: nil) ⇒ ContractorPaymentDetailsListSplits
Returns a new instance of ContractorPaymentDetailsListSplits.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_details_list_splits.rb', line 33 def initialize(bank_account_uuid: nil, name: nil, hidden_account_number: nil, routing_number: nil, priority: nil, account_type: nil, encrypted_account_number: nil, split_amount: nil) @bank_account_uuid = bank_account_uuid @name = name @hidden_account_number = hidden_account_number @routing_number = routing_number @priority = priority @account_type = account_type @encrypted_account_number = encrypted_account_number @split_amount = split_amount end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_details_list_splits.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @bank_account_uuid == other.bank_account_uuid return false unless @name == other.name return false unless @hidden_account_number == other.hidden_account_number return false unless @routing_number == other.routing_number return false unless @priority == other.priority return false unless @account_type == other.account_type return false unless @encrypted_account_number == other.encrypted_account_number return false unless @split_amount == other.split_amount true end |