-
Notifications
You must be signed in to change notification settings - Fork 0
/
document.go
22 lines (21 loc) · 1.01 KB
/
document.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package shopware
// Document see:
// https://github.com/shopware/platform/blob/6.2/src/Core/Checkout/Document/DocumentEntity.php
type Document struct {
Entity
OrderID string `json:"orderId"`
OrderVersionID string `json:"orderVersionId"`
DocumentTypeID string `json:"documentTypeId"`
DocumentMediaFileID string `json:"documentMediaFileId"`
FileType string `json:"fileType"`
Order *Order `json:"order"`
Config []string `json:"config"`
Sent bool `json:"sent"`
Static bool `json:"static"`
DeepLinkCode string `json:"deepLinkCode"`
DocumentType *DocumentType `json:"documentType"`
ReferencedDocumentID string `json:"referencedDocumentId"`
ReferencedDocument *Document `json:"referencedDocument"`
DependentDocuments []*Document `json:"dependentDocuments"`
DocumentMediaFile *MediaEntity `json:"documentMediaFile"`
}