fix order and self order response

This commit is contained in:
Efril
2026-05-10 23:07:57 +07:00
parent f123de7233
commit 06d79046d0
4 changed files with 28 additions and 16 deletions
+1
View File
@@ -97,6 +97,7 @@ type SelfOrderOrderItem struct {
PaymentStatus string `json:"payment_status"`
IsVoid bool `json:"is_void"`
IsRefund bool `json:"is_refund"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Items []SelfOrderOrderLineItem `json:"items,omitempty"`
CreatedAt time.Time `json:"created_at"`
}