// 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 regs_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"
)

// TaxTypeAccount tax type account
//
// swagger:model TaxTypeAccount
type TaxTypeAccount struct {

	// Account
	AccountID string `json:"AccountID,omitempty"`

	// Account Number
	AccountNumber string `json:"AccountNumber,omitempty"`

	// Active
	Active bool `json:"Active,omitempty"`

	// Rollup Amount
	Amount float64 `json:"Amount,omitempty"`

	// Contact ID
	ContactID string `json:"ContactID,omitempty"`

	// Created By User ID
	CreatedByID string `json:"CreatedByID,omitempty"`

	// Created Date
	CreatedDate string `json:"CreatedDate,omitempty"`

	// Description
	Description string `json:"Description,omitempty"`

	// End Date
	EndDate string `json:"EndDate,omitempty"`

	// Taxnexus Record Id
	ID string `json:"ID,omitempty"`

	// Interest
	Interest float64 `json:"Interest,omitempty"`

	// Last Modified By User ID
	LastModfiedByID string `json:"LastModfiedByID,omitempty"`

	// Last Modified Date
	LastModfiedDate string `json:"LastModfiedDate,omitempty"`

	// Notes
	Notes string `json:"Notes,omitempty"`

	// UUID Reference the master record that owns this item
	ParentFK string `json:"ParentFK,omitempty"`

	// Penalty
	Penalty float64 `json:"Penalty,omitempty"`

	// Source System identifier for this record, if any
	Ref string `json:"Ref,omitempty"`

	// Reported Adjustments
	ReportedAdjustments float64 `json:"ReportedAdjustments,omitempty"`

	// Reported Deductions
	ReportedDeductions float64 `json:"ReportedDeductions,omitempty"`

	// Reported Net Revenue
	ReportedNetRevenue float64 `json:"ReportedNetRevenue,omitempty"`

	// Reported Rate
	ReportedRate float64 `json:"ReportedRate,omitempty"`

	// Reported Revenue
	ReportedRevenue float64 `json:"ReportedRevenue,omitempty"`

	// Rollup Revenue Base
	RevenueBase float64 `json:"RevenueBase,omitempty"`

	// Rollup Revenue Net
	RevenueNet float64 `json:"RevenueNet,omitempty"`

	// Rollup Revenue Not Taxable
	RevenueNotTaxable float64 `json:"RevenueNotTaxable,omitempty"`

	// Start Date
	StartDate string `json:"StartDate,omitempty"`

	// Reported Tax
	Subtotal float64 `json:"Subtotal,omitempty"`

	// Rollup Tax
	Tax float64 `json:"Tax,omitempty"`

	// Rollup Tax On Tax
	TaxOnTax float64 `json:"TaxOnTax,omitempty"`

	// Tax Type
	TaxTypeID string `json:"TaxTypeID,omitempty"`

	// Tenant that owns this object instance
	TenantID string `json:"TenantID,omitempty"`

	// Total Amount
	TotalAmount float64 `json:"TotalAmount,omitempty"`

	// Rollup Unit Base
	UnitBase float64 `json:"UnitBase,omitempty"`
}

// Validate validates this tax type account
func (m *TaxTypeAccount) Validate(formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *TaxTypeAccount) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *TaxTypeAccount) UnmarshalBinary(b []byte) error {
	var res TaxTypeAccount
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
