lib/api/sf-gate/sf_gate_models/gl_balance.go

102 lines
2.3 KiB
Go

// 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 sf_gate_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"
)
// GlBalance gl balance
//
// swagger:model GlBalance
type GlBalance struct {
// Account Name
Accountname string `json:"accountname,omitempty"`
// Amount
Amount float64 `json:"amount,omitempty"`
// Close Date
Closedate string `json:"closedate,omitempty"`
// Created By User ID
Createdbyid string `json:"createdbyid,omitempty"`
// Created Date
Createddate string `json:"createddate,omitempty"`
// Credits
Credits float64 `json:"credits,omitempty"`
// Debits
Debits float64 `json:"debits,omitempty"`
// Description
Description string `json:"description,omitempty"`
// GL Account Display Value
Glaccountdisplay string `json:"glaccountdisplay,omitempty"`
// GL Account
Glaccountid string `json:"glaccountid,omitempty"`
// Taxnexus Record Id Only; not used in POST
ID string `json:"id,omitempty"`
// Last Modified By User ID
Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"`
// Last Modified Date
Lastmodifieddate string `json:"lastmodifieddate,omitempty"`
// Period ID
Periodid string `json:"periodid,omitempty"`
// Source System identifier for this record, if any
Ref string `json:"ref,omitempty"`
// Rollup Credits
Rollupcredits float64 `json:"rollupcredits,omitempty"`
// Rollup Debits
Rollupdebits float64 `json:"rollupdebits,omitempty"`
// Status
Status string `json:"status,omitempty"`
// tenant identifier
Tenantid string `json:"tenantid,omitempty"`
}
// Validate validates this gl balance
func (m *GlBalance) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *GlBalance) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *GlBalance) UnmarshalBinary(b []byte) error {
var res GlBalance
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}