lib/api/geo/v0.0.1/geo_models/taxnexus_code.go

111 lines
2.7 KiB
Go
Raw Permalink Normal View History

2021-01-08 17:00:13 +00:00
// 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 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 (
"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
}
// 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
}