lib/app/cashreceipt.go

55 lines
1.3 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/ops/ops_models"
)
2021-01-14 06:36:35 +00:00
// CashReceiptChannelWrapper wraps the object with workflow params
2021-01-12 05:46:24 +00:00
type CashReceiptChannelWrapper struct {
2021-01-19 01:50:45 +00:00
Obj ops_models.CashReceipt
APIKey string
SagaID string
SagaType string
2021-01-12 05:46:24 +00:00
}
2021-01-10 18:40:46 +00:00
// CashReceipt is a first class object type
type CashReceipt struct {
ID string
AccountID string
Amount float64
AppliedAmount float64
BillingContactID string
BillingRunID string
CashReceiptDate sql.NullTime
CashReceiptNumber string
CreatedByID string
CreatedDate sql.NullTime
2021-01-17 21:49:00 +00:00
CustomerID string
2021-01-10 18:40:46 +00:00
Description string
Gateway string
GatewayKey string
GatewayMessage string
GatewayTransaction bool
InvoiceID string
IsValid bool
LastModifiedByID string
LastModifiedDate sql.NullTime
PartnerAccountID string
PaymentMethodID string
PeriodID string
Posted bool
RecordType string
Ref string
Rejected bool
Source string
Status string
TemplateID string
TenantID string
Type string
UnappliedAmount float64
ValidPayment bool
XeroID string
}