Class: GustoEmbedded::Models::Shared::PayrollCreditBlockerUnblockOptionWaitForReverseWire
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollCreditBlockerUnblockOptionWaitForReverseWire
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_credit_blocker_unblock_option_wait_for_reverse_wire.rb
Overview
Unblock option to resolve a credit blocker by waiting for reverse wire
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(unblock_type:, check_date:, metadata:) ⇒ PayrollCreditBlockerUnblockOptionWaitForReverseWire
constructor
A new instance of PayrollCreditBlockerUnblockOptionWaitForReverseWire.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(unblock_type:, check_date:, metadata:) ⇒ PayrollCreditBlockerUnblockOptionWaitForReverseWire
Returns a new instance of PayrollCreditBlockerUnblockOptionWaitForReverseWire.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/shared/payroll_credit_blocker_unblock_option_wait_for_reverse_wire.rb', line 23 def initialize(unblock_type:, check_date:, metadata:) @unblock_type = unblock_type @check_date = check_date @metadata = end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/payroll_credit_blocker_unblock_option_wait_for_reverse_wire.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @unblock_type == other.unblock_type return false unless @check_date == other.check_date return false unless @metadata == other. true end |