Class: GustoEmbedded::Models::Shared::ContractorPaymentReceiptTotals
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::ContractorPaymentReceiptTotals
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/contractor_payment_receipt_totals.rb
Overview
The subtotals for the contractor payment.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(company_debit: nil) ⇒ ContractorPaymentReceiptTotals
constructor
A new instance of ContractorPaymentReceiptTotals.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_debit: nil) ⇒ ContractorPaymentReceiptTotals
Returns a new instance of ContractorPaymentReceiptTotals.
19 20 21 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_receipt_totals.rb', line 19 def initialize(company_debit: nil) @company_debit = company_debit end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 27 28 |
# File 'lib/gusto_embedded/models/shared/contractor_payment_receipt_totals.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @company_debit == other.company_debit true end |