lib/types/charge.go

35 lines
930 B
Go
Raw Permalink Normal View History

2021-01-10 18:40:46 +00:00
package types
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
}