lib/app/country.go

51 lines
1.2 KiB
Go
Raw Normal View History

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
// CountryActivityWrapper wraps the object with workflow params
type CountryActivityWrapper struct {
2021-01-19 01:50:45 +00:00
Obj geo_models.Country
APIKey string
SagaID string
SagaType string
2021-01-12 05:46:24 +00:00
}
2021-01-10 18:40:46 +00:00
// Country is a first class object type
type Country struct {
ID string
AccountID string
Amount float64
Code string
ContactID string
CreatedByID string
CreatedDate sql.NullTime
EnrollmentStatus string
Interest float64
LastModifiedByID string
LastModifiedDate sql.NullTime
Longitude float64
Latitude float64
Name string
OwnerID string
Penalty float64
Ref string
ReportedAdjustments float64
ReportedDeductions float64
ReportedNetRevenue float64
ReportedRate float64
ReportedRevenue float64
RevenueBase float64
RevenueNet float64
RevenueNotTaxable float64
Status string
Subtotal float64
TaxInstances []*TaxInstance
TemplateID string
TotalAmount float64
UnitBase float64
}