123 lines
3.0 KiB
Go
123 lines
3.0 KiB
Go
|
// 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"
|
||
|
)
|
||
|
|
||
|
// Submission submission
|
||
|
//
|
||
|
// swagger:model Submission
|
||
|
type Submission struct {
|
||
|
|
||
|
// The Company that did the submission (Taxnexus)
|
||
|
CompanyID string `json:"CompanyID,omitempty"`
|
||
|
|
||
|
// Submission Contact
|
||
|
ContactID string `json:"ContactID,omitempty"`
|
||
|
|
||
|
// Created By User ID
|
||
|
CreatedByID string `json:"CreatedByID,omitempty"`
|
||
|
|
||
|
// Created Date
|
||
|
CreatedDate string `json:"CreatedDate,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"`
|
||
|
|
||
|
// Cover Letter
|
||
|
Notes string `json:"Notes,omitempty"`
|
||
|
|
||
|
// UUID Reference the master record that owns this item
|
||
|
ParentFK string `json:"ParentFK,omitempty"`
|
||
|
|
||
|
// Penalty paid
|
||
|
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"`
|
||
|
|
||
|
// Revenue Base
|
||
|
RevenueBase float64 `json:"RevenueBase,omitempty"`
|
||
|
|
||
|
// Revenue Net
|
||
|
RevenueNet float64 `json:"RevenueNet,omitempty"`
|
||
|
|
||
|
// Revenue Not Taxable
|
||
|
RevenueNotTaxable float64 `json:"RevenueNotTaxable,omitempty"`
|
||
|
|
||
|
// Status
|
||
|
Status string `json:"Status,omitempty"`
|
||
|
|
||
|
// Submission Date
|
||
|
SubmissionDate string `json:"SubmissionDate,omitempty"`
|
||
|
|
||
|
// Submission Number
|
||
|
SubmissionNumber string `json:"SubmissionNumber,omitempty"`
|
||
|
|
||
|
// Amount of remittance before penalty
|
||
|
Subtotal float64 `json:"Subtotal,omitempty"`
|
||
|
|
||
|
// Taxnexus ID of the TaxType for which this submssion is being made
|
||
|
TaxTypeID string `json:"TaxTypeID,omitempty"`
|
||
|
|
||
|
// Tenant that owns this object instance
|
||
|
TenantID string `json:"TenantID,omitempty"`
|
||
|
|
||
|
// Total Amount of remittance
|
||
|
TotalAmount float64 `json:"TotalAmount,omitempty"`
|
||
|
}
|
||
|
|
||
|
// Validate validates this submission
|
||
|
func (m *Submission) Validate(formats strfmt.Registry) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// MarshalBinary interface implementation
|
||
|
func (m *Submission) MarshalBinary() ([]byte, error) {
|
||
|
if m == nil {
|
||
|
return nil, nil
|
||
|
}
|
||
|
return swag.WriteJSON(m)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary interface implementation
|
||
|
func (m *Submission) UnmarshalBinary(b []byte) error {
|
||
|
var res Submission
|
||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*m = res
|
||
|
return nil
|
||
|
}
|