lib/app/place.go

69 lines
1.7 KiB
Go

package app
import (
"database/sql"
"code.tnxs.net/taxnexus/lib/api/geo/geo_models"
)
// PlaceActivityWrapper wraps the object with workflow params
type PlaceActivityWrapper struct {
Obj geo_models.Place
APIKey string
SagaID string
SagaType string
}
// 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
OwnerID string
Penalty float64
Ref string
ReportedAdjustments float64
ReportedDeductions float64
ReportedNetRevenue float64
ReportedRate float64
ReportedRevenue float64
RevenueBase float64
RevenueNet float64
RevenueNotTaxable float64
Revneuebase float64
SalesTaxRate *TaxRate
Split bool
StateCode string
StateID string
Status string
Subtotal float64
TaxInstances []*TaxInstance
TemplateID string
TotalAmount float64
TotalArea int64
UnitBase float64
WaterArea int64
}