Documentation
¶
Index ¶
- func CreateInvoiceExternalID[T InvoiceExternalIDCreator[T]](creator InvoiceExternalIDCreator[T], ids InvoiceExternalIDs) T
- func CreateLineExternalID[T LineExternalIDCreator[T]](creator LineExternalIDCreator[T], ids LineExternalIDs) T
- func UpdateInvoiceExternalID[T InvoiceExternalIDUpdater[T]](updater InvoiceExternalIDUpdater[T], ids InvoiceExternalIDs) T
- func UpdateLineExternalID[T LineExternalIDUpdater[T]](updater LineExternalIDUpdater[T], ids LineExternalIDs) T
- type InvoiceExternalIDCreator
- type InvoiceExternalIDGetter
- type InvoiceExternalIDUpdater
- type InvoiceExternalIDs
- type InvoiceMixin
- type LineExternalIDCreator
- type LineExternalIDGetter
- type LineExternalIDUpdater
- type LineExternalIDs
- type LineMixin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInvoiceExternalID ¶
func CreateInvoiceExternalID[T InvoiceExternalIDCreator[T]](creator InvoiceExternalIDCreator[T], ids InvoiceExternalIDs) T
func CreateLineExternalID ¶
func CreateLineExternalID[T LineExternalIDCreator[T]](creator LineExternalIDCreator[T], ids LineExternalIDs) T
func UpdateInvoiceExternalID ¶
func UpdateInvoiceExternalID[T InvoiceExternalIDUpdater[T]](updater InvoiceExternalIDUpdater[T], ids InvoiceExternalIDs) T
func UpdateLineExternalID ¶
func UpdateLineExternalID[T LineExternalIDUpdater[T]](updater LineExternalIDUpdater[T], ids LineExternalIDs) T
Types ¶
type InvoiceExternalIDGetter ¶
type InvoiceExternalIDs ¶
type InvoiceExternalIDs struct {
Invoicing string `json:"invoicing,omitempty"`
Payment string `json:"payment,omitempty"`
}
func MapInvoiceExternalIDFromDB ¶
func MapInvoiceExternalIDFromDB(dbEntity InvoiceExternalIDGetter) InvoiceExternalIDs
func (*InvoiceExternalIDs) GetInvoicingOrEmpty ¶
func (i *InvoiceExternalIDs) GetInvoicingOrEmpty() string
type InvoiceMixin ¶
func (InvoiceMixin) Fields ¶
func (InvoiceMixin) Fields() []ent.Field
type LineExternalIDCreator ¶
type LineExternalIDGetter ¶
type LineExternalIDGetter interface {
GetInvoicingAppExternalID() *string
}
type LineExternalIDUpdater ¶
type LineExternalIDs ¶
type LineExternalIDs struct {
Invoicing string `json:"invoicing,omitempty"`
}
func MapLineExternalIDFromDB ¶
func MapLineExternalIDFromDB(dbEntity LineExternalIDGetter) LineExternalIDs
func (LineExternalIDs) Equal ¶
func (i LineExternalIDs) Equal(other LineExternalIDs) bool
Click to show internal directories.
Click to hide internal directories.