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 sf_gate_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"`
|
|
|
|
|
|
|
|
// Submission Date
|
|
|
|
Date string `json:"date,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 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 identifier
|
|
|
|
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
|
|
|
|
}
|