// Code generated by go-swagger; DO NOT EDIT. // All Code Copyright(c) 2018-2021 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 ( "context" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // TaxnexusCode taxnexus code // // swagger:model TaxnexusCode type TaxnexusCode struct { // Is this an active Taxnexus Code? Active bool `json:"active,omitempty"` // Taxnexus Code Code string `json:"code,omitempty"` // Created By User ID Createdbyid string `json:"createdbyid,omitempty"` // Created Date Createddate string `json:"createddate,omitempty"` // Taxnexus Code Description Description string `json:"description,omitempty"` // Domain ID Domainid string `json:"domainid,omitempty"` // Domain Name Domainname string `json:"domainname,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"` // Level Level string `json:"level,omitempty"` // Taxnexus Code Part 1 Part1 string `json:"part1,omitempty"` // Taxnexus Code Part 2 Part2 string `json:"part2,omitempty"` // Taxnexus Code Part 3 Part3 string `json:"part3,omitempty"` // Taxnexus Code Part 4 Part4 string `json:"part4,omitempty"` // Taxnexus Code Part 4 Part5 string `json:"part5,omitempty"` // Purchasing Ruleset AccountingRuleset Code Purchasingrulesetcode string `json:"purchasingrulesetcode,omitempty"` // Purchasing Ruleset AccountingRuleset ID Purchasingrulesetid string `json:"purchasingrulesetid,omitempty"` // External reference, if any Ref string `json:"ref,omitempty"` // Revenue Ruleset AccountingRuleset Code Revenuerulesetcode string `json:"revenuerulesetcode,omitempty"` // Revenue Ruleset AccountingRuleset ID Revenuerulesetid string `json:"revenuerulesetid,omitempty"` } // Validate validates this taxnexus code func (m *TaxnexusCode) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this taxnexus code based on context it is used func (m *TaxnexusCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *TaxnexusCode) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *TaxnexusCode) UnmarshalBinary(b []byte) error { var res TaxnexusCode if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }