2021-01-10 23:44:39 +00:00
|
|
|
package app
|
2021-01-10 18:40:46 +00:00
|
|
|
|
2021-01-12 05:46:24 +00:00
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
|
|
|
|
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
|
|
|
|
)
|
|
|
|
|
2021-01-19 20:23:02 +00:00
|
|
|
// PlaceActivityWrapper wraps the object with workflow params
|
|
|
|
type PlaceActivityWrapper struct {
|
2021-01-19 01:50:45 +00:00
|
|
|
Obj geo_models.Place
|
|
|
|
APIKey string
|
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
2021-01-10 18:40:46 +00:00
|
|
|
|
|
|
|
// Place is a first class object type
|
|
|
|
type Place struct {
|
|
|
|
ID string
|
|
|
|
AccountID string
|
|
|
|
AccountValidation string
|
|
|
|
Amount float64
|
|
|
|
AreaDescription string
|
|
|
|
ContactID string
|
|
|
|
CountryID string
|
|
|
|
CountyID string
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
EnrollmentStatus string
|
|
|
|
FIPS string
|
|
|
|
FIPSclass string
|
|
|
|
FunctionalStatus string
|
|
|
|
Geocode string
|
|
|
|
GNIS int64
|
|
|
|
HasDistrictTaxes bool
|
|
|
|
Interest float64
|
|
|
|
Landarea int64
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
Longitude float64
|
|
|
|
Latitude float64
|
|
|
|
LegalName string
|
|
|
|
Name string
|
2021-01-14 06:36:35 +00:00
|
|
|
OwnerID string
|
2021-01-10 18:40:46 +00:00
|
|
|
Penalty float64
|
|
|
|
Ref string
|
|
|
|
ReportedAdjustments float64
|
|
|
|
ReportedDeductions float64
|
|
|
|
ReportedNetRevenue float64
|
|
|
|
ReportedRate float64
|
|
|
|
ReportedRevenue float64
|
|
|
|
RevenueBase float64
|
|
|
|
RevenueNet float64
|
|
|
|
RevenueNotTaxable float64
|
|
|
|
Revneuebase float64
|
|
|
|
SalesTaxRate *TaxRate
|
2021-02-19 17:47:02 +00:00
|
|
|
Split bool
|
2021-01-10 18:40:46 +00:00
|
|
|
StateCode string
|
|
|
|
StateID string
|
|
|
|
Status string
|
|
|
|
Subtotal float64
|
|
|
|
TaxInstances []*TaxInstance
|
|
|
|
TemplateID string
|
|
|
|
TotalAmount float64
|
|
|
|
TotalArea int64
|
|
|
|
UnitBase float64
|
|
|
|
WaterArea int64
|
|
|
|
}
|