Class: GustoEmbedded::Models::Shared::GarnishmentChildSupport
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::GarnishmentChildSupport
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/garnishment_child_support.rb
Overview
Additional child support order details
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(state: nil, payment_period: nil, fips_code: nil, case_number: nil, order_number: nil, remittance_number: nil) ⇒ GarnishmentChildSupport
constructor
A new instance of GarnishmentChildSupport.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(state: nil, payment_period: nil, fips_code: nil, case_number: nil, order_number: nil, remittance_number: nil) ⇒ GarnishmentChildSupport
Returns a new instance of GarnishmentChildSupport.
29 30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/garnishment_child_support.rb', line 29 def initialize(state: nil, payment_period: nil, fips_code: nil, case_number: nil, order_number: nil, remittance_number: nil) @state = state @payment_period = payment_period @fips_code = fips_code @case_number = case_number @order_number = order_number @remittance_number = remittance_number end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/garnishment_child_support.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @state == other.state return false unless @payment_period == other.payment_period return false unless @fips_code == other.fips_code return false unless @case_number == other.case_number return false unless @order_number == other.order_number return false unless @remittance_number == other.remittance_number true end |