35 lines
928 B
Go
35 lines
928 B
Go
|
package app
|
||
|
|
||
|
import "database/sql"
|
||
|
|
||
|
// Charge is a first class object type
|
||
|
type Charge struct {
|
||
|
ID string
|
||
|
AccountID string
|
||
|
AccountingRulesetCode string
|
||
|
Amount float64
|
||
|
BillingContactID string
|
||
|
BillingEmail string
|
||
|
BillingRunID string
|
||
|
ContractHourlyRate float64
|
||
|
ContractID string
|
||
|
CreatedByID string
|
||
|
CreatedDate sql.NullTime
|
||
|
Description string
|
||
|
EmailMessage string
|
||
|
JournalDate sql.NullTime
|
||
|
LastModifiedByID string
|
||
|
LastModifiedDate sql.NullTime
|
||
|
PartnerAccountID string
|
||
|
PaymentTerms string
|
||
|
PeriodID string
|
||
|
Posted bool
|
||
|
ProductID string
|
||
|
Quantity float64
|
||
|
Ref string
|
||
|
TemplateID string
|
||
|
TenantID string
|
||
|
Type string
|
||
|
UnitPrice float64
|
||
|
}
|