lib/api/regs/regs_models/submission.go

130 lines
3.2 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"
)
// 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
}
2021-02-09 16:56:57 +00:00
// ContextValidate validates this submission based on context it is used
func (m *Submission) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
2021-01-08 17:40:28 +00:00
// 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
}