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
|
|
|
// TaxTypeActivityWrapper wraps the object with workflow params
|
|
|
|
type TaxTypeActivityWrapper struct {
|
2021-01-19 01:50:45 +00:00
|
|
|
Obj geo_models.TaxType
|
|
|
|
APIKey string
|
|
|
|
SagaID string
|
|
|
|
SagaType string
|
2021-01-12 05:46:24 +00:00
|
|
|
}
|
2021-01-10 18:40:46 +00:00
|
|
|
|
|
|
|
// TaxType is a first class object type
|
|
|
|
type TaxType struct {
|
|
|
|
ID string
|
|
|
|
AccountID string
|
|
|
|
AccountingRuleCode string
|
|
|
|
Active bool
|
|
|
|
AgencyType string
|
|
|
|
AgentID string
|
|
|
|
Amount float64
|
|
|
|
Category string
|
|
|
|
CollectorDomainID string
|
|
|
|
CompanyID string
|
|
|
|
ContactID string
|
|
|
|
CreatedByID string
|
|
|
|
CreatedDate sql.NullTime
|
|
|
|
Description string
|
|
|
|
EffectiveDate sql.NullTime
|
|
|
|
EndDate sql.NullTime
|
|
|
|
EnrollmentStatus string
|
|
|
|
FilingCity string
|
|
|
|
FilingCountry string
|
|
|
|
FilingEmail string
|
|
|
|
FilingMethod string
|
|
|
|
FilingPostalcode string
|
|
|
|
FilingState string
|
|
|
|
FilingStreet string
|
|
|
|
Fractional bool
|
|
|
|
Frequency string
|
|
|
|
GeocodeString string
|
|
|
|
InterestRate float64
|
|
|
|
IsMedicinal bool
|
|
|
|
IsRecreational bool
|
|
|
|
LastModifiedByID string
|
|
|
|
LastModifiedDate sql.NullTime
|
|
|
|
MarkupRate float64
|
|
|
|
Name string
|
|
|
|
OwnerID string
|
|
|
|
Passthrough bool
|
|
|
|
PenaltyDays int64
|
|
|
|
PenaltyRate float64
|
|
|
|
Rate float64
|
|
|
|
Reference string
|
|
|
|
RevenueBase float64
|
|
|
|
RevenueNet float64
|
|
|
|
RevenueNotTaxable float64
|
|
|
|
SalesRegulation string
|
|
|
|
Status string
|
|
|
|
TaxnexusCodeID string
|
|
|
|
TaxnexusNumber string
|
|
|
|
TemplateID string
|
|
|
|
UnitBase float64
|
|
|
|
Units string
|
|
|
|
}
|