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 geo_models
|
|
|
|
|
|
|
|
// This file was generated by the swagger tool.
|
|
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
|
|
|
|
import (
|
2021-02-09 16:56:57 +00:00
|
|
|
"context"
|
|
|
|
|
2021-01-08 17:40:28 +00:00
|
|
|
"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
|
|
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
|
|
|
|
// Last Modified By User ID
|
|
|
|
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
|
|
|
|
|
|
|
|
// Last Modified Date
|
|
|
|
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
|
|
|
|
|
|
|
|
// Taxnexus Code Level
|
|
|
|
Level string `json:"Level,omitempty"`
|
|
|
|
|
|
|
|
// The Taxnexus User Id that owns this Taxnexus Code
|
|
|
|
OwnerID string `json:"OwnerID,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"`
|
|
|
|
|
|
|
|
// Source System identifier for this record, 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
|
|
|
|
}
|
|
|
|
|
2021-02-09 16:56:57 +00:00
|
|
|
// ContextValidate validates this taxnexus code based on context it is used
|
|
|
|
func (m *TaxnexusCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-08 17:40:28 +00:00
|
|
|
// 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
|
|
|
|
}
|