lib/api/regs/regs_models/filing.go

178 lines
4.3 KiB
Go
Raw Normal View History

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 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 (
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"
)
// Filing filing
//
// swagger:model Filing
type Filing struct {
// Account Name on Filing
AccountName string `json:"AccountName,omitempty"`
// The amount of tax to be paid with this filing
Amount float64 `json:"Amount,omitempty"`
// Billing Contact
ContactID string `json:"ContactID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
// Filing Date
Date string `json:"Date,omitempty"`
// Due Date
DueDate string `json:"DueDate,omitempty"`
// Due Date
FilingNumber string `json:"FilingNumber,omitempty"`
// The ID of the Filing Type for this Filing
FilingTypeID string `json:"FilingTypeID,omitempty"`
// Due Date
Frequency string `json:"Frequency,omitempty"`
// Record Id
ID string `json:"ID,omitempty"`
// Interest
Interest float64 `json:"Interest,omitempty"`
// Interest
InterestRate float64 `json:"InterestRate,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
// The number of the Month of the filing
MonthNumber int64 `json:"MonthNumber,omitempty"`
// Taxneuxs ID of the User who owns this record
OwnerID string `json:"OwnerID,omitempty"`
// Penalty
Penalty float64 `json:"Penalty,omitempty"`
// Penalty Days
PenaltyDays float64 `json:"PenaltyDays,omitempty"`
// Penalty Days
PenaltyRate float64 `json:"PenaltyRate,omitempty"`
// Period
PeriodID string `json:"PeriodID,omitempty"`
// Taxnexus ID of the Contact who prepared this filing
PreparerID string `json:"PreparerID,omitempty"`
// The number of the Month of the filing
QuarterNumber int64 `json:"QuarterNumber,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"`
// Revenue Base
RevenueBase float64 `json:"RevenueBase,omitempty"`
// Revenue Net
RevenueNet float64 `json:"RevenueNet,omitempty"`
// Revenue Not Taxable
RevenueNotTaxable float64 `json:"RevenueNotTaxable,omitempty"`
// The number of the Month of the filing
SemiannualNumber int64 `json:"SemiannualNumber,omitempty"`
// Status
Status string `json:"Status,omitempty"`
// Taxnexus ID of the Submission that owns this Filing
SubmissionID string `json:"SubmissionID,omitempty"`
// Reported Tax
Subtotal float64 `json:"Subtotal,omitempty"`
// Tax On Tax
TaxOnTax float64 `json:"TaxOnTax,omitempty"`
// The TaxType Account for which this Filing is paying remittance
TaxTypeAccountID string `json:"TaxTypeAccountID,omitempty"`
// Tenant that owns this object instance
TenantID string `json:"TenantID,omitempty"`
// Total Amount
TotalAmount float64 `json:"TotalAmount,omitempty"`
// Unit Base
UnitBase float64 `json:"UnitBase,omitempty"`
// The number of the Month of the filing
YearNumber int64 `json:"YearNumber,omitempty"`
}
// Validate validates this filing
func (m *Filing) Validate(formats strfmt.Registry) error {
return nil
}
2021-02-09 16:56:57 +00:00
// ContextValidate validates this filing based on context it is used
func (m *Filing) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
2021-01-08 17:40:28 +00:00
// MarshalBinary interface implementation
func (m *Filing) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *Filing) UnmarshalBinary(b []byte) error {
var res Filing
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}