Class: GustoEmbedded::Models::Shared::ContractorPaymentSummaryByDatesContractorPayments
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorPaymentSummaryByDatesContractorPayments
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_payment_summary_by_dates_contractor_payments.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(contractor_uuid: nil, check_date: nil, reimbursement_total: nil, wage_total: nil, payments: nil) ⇒ ContractorPaymentSummaryByDatesContractorPayments
constructor
A new instance of ContractorPaymentSummaryByDatesContractorPayments.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(contractor_uuid: nil, check_date: nil, reimbursement_total: nil, wage_total: nil, payments: nil) ⇒ ContractorPaymentSummaryByDatesContractorPayments
Returns a new instance of ContractorPaymentSummaryByDatesContractorPayments.
27 28 29 30 31 32 33 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_summary_by_dates_contractor_payments.rb', line 27 def initialize(contractor_uuid: nil, check_date: nil, reimbursement_total: nil, wage_total: nil, payments: nil) @contractor_uuid = contractor_uuid @check_date = check_date @reimbursement_total = reimbursement_total @wage_total = wage_total @payments = payments end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_summary_by_dates_contractor_payments.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @contractor_uuid == other.contractor_uuid return false unless @check_date == other.check_date return false unless @reimbursement_total == other.reimbursement_total return false unless @wage_total == other.wage_total return false unless @payments == other.payments true end |