Versions in this module Expand all Collapse all v0 v0.7.0 Jul 23, 2026 Changes in this version + type Notification struct + CustomerID string + Delivered bool + EventID string + OccurredAt time.Time + Reference string type Order + CustomerID string + type OutboxItem struct + CreatedAt time.Time + Data []byte + DeliveredAt *time.Time + EventID string + ID int64 + OccurredAt time.Time + PartitionKey string + PublishedAt *time.Time + Topic string + func (o *OutboxItem) TableName() string + type OutboxItems []OutboxItem v0.6.0 Oct 25, 2025 v0.5.0 Oct 6, 2025 v0.4.0 Oct 5, 2025 v0.3.0 Oct 5, 2025 v0.2.0 Oct 5, 2025 v0.1.0 Feb 19, 2025 v0.0.1 Feb 19, 2025 Changes in this version + func GenerateReference() string + func IsSKU(input string) bool + type AddItemsRequest struct + Items []*Item + type HealthResponse struct + Failures []string + Service string + Version string + type Item struct + ID int + InventoryQuantity int + Name string + Price float64 + SKU string + func (i *Item) TableName() string + func (i *Item) Validate() error + type ItemsPriceRequest struct + SKUs []string + type Order struct + ID int + Price float64 + Reference string + SKUList string + func (o *Order) GetSKUList() ([]string, error) + func (o *Order) SetSKUList(skuList []string) error + func (o *Order) TableName() string + type Orders []Order + type PriceResponse struct + Items []*Item + Promotions *Promotions + TotalGross float64 + TotalWithDiscount float64 + type Promotions struct + AddedItems []*Item + Deduction float64 + type PurchaseItemsRequest struct + SKUs []string + type PurchaseItemsResponse struct + Cost float64 + OrderReference string + type StatusResponse struct + Message string + Service string + Version string