// Code generated by go-swagger; DO NOT EDIT. // All Code Copyright(c) 2018-2020 by Taxnexus, Inc. // All rights reserved worldwide. // Proprietary product; unlicensed use is not allowed package ledger_models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // CoaItem coa item // // swagger:model CoaItem type CoaItem struct { // Parent Chart of Accounts record D CoaID string `json:"CoaID,omitempty"` // Created By User ID CreatedByID string `json:"CreatedByID,omitempty"` // Created Date CreatedDate string `json:"CreatedDate,omitempty"` // The Credit Balance for this item Credits float64 `json:"Credits,omitempty"` // The Debit Balance for this item Debits float64 `json:"Debits,omitempty"` // The General Ledger account name GLAccountName string `json:"GLAccountName,omitempty"` // Record Id ID string `json:"ID,omitempty"` // Last Modified By User ID LastModifiedByID string `json:"LastModifiedByID,omitempty"` // Last Modified Date LastModifiedDate string `json:"LastModifiedDate,omitempty"` // The name of the Period for this COA Item PeriodName string `json:"PeriodName,omitempty"` // The Product Code value for this CoA Item ProductCode string `json:"ProductCode,omitempty"` // The Sales Regulation value for this CoA Item SalesRegulation string `json:"SalesRegulation,omitempty"` // The Taxnexus Code value for this CoA Item TaxnexusCode string `json:"TaxnexusCode,omitempty"` } // Validate validates this coa item func (m *CoaItem) Validate(formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *CoaItem) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *CoaItem) UnmarshalBinary(b []byte) error { var res CoaItem if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }