2021-01-08 17:40:28 +00:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
2021-01-19 16:58:40 +00:00
|
|
|
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
|
2021-01-08 17:40:28 +00:00
|
|
|
// 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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TaxInstance tax instance
|
|
|
|
//
|
|
|
|
// swagger:model TaxInstance
|
|
|
|
type TaxInstance struct {
|
|
|
|
|
|
|
|
// The Taxnexus ID of the Country that owns this instance
|
|
|
|
Countryid string `json:"countryid,omitempty"`
|
|
|
|
|
|
|
|
// The Taxnexus ID of the County that owns this instance
|
|
|
|
Countyid string `json:"countyid,omitempty"`
|
|
|
|
|
|
|
|
// createdbyid
|
|
|
|
Createdbyid string `json:"createdbyid,omitempty"`
|
|
|
|
|
|
|
|
// The creation date of this database record
|
|
|
|
Createddate string `json:"createddate,omitempty"`
|
|
|
|
|
|
|
|
// lastmodifiedbyid
|
|
|
|
Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"`
|
|
|
|
|
|
|
|
// lastmodifieddate
|
|
|
|
Lastmodifieddate string `json:"lastmodifieddate,omitempty"`
|
|
|
|
|
|
|
|
// The Taxnexus ID of the Place that owns this instance
|
|
|
|
Placeid string `json:"placeid,omitempty"`
|
|
|
|
|
|
|
|
// The Taxnexus ID of the State that owns this instance
|
|
|
|
Stateid string `json:"stateid,omitempty"`
|
|
|
|
|
|
|
|
// The Taxnexus Tax Type ID of this instance
|
|
|
|
Taxtypeid string `json:"taxtypeid,omitempty"`
|
|
|
|
|
|
|
|
// The Type of instance refers to the linking object (place, county, state, country)
|
|
|
|
Type string `json:"type,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this tax instance
|
|
|
|
func (m *TaxInstance) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *TaxInstance) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *TaxInstance) UnmarshalBinary(b []byte) error {
|
|
|
|
var res TaxInstance
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|