-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdelivery_messages.go
29 lines (26 loc) · 1.06 KB
/
delivery_messages.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//********************************************************************************************************************//
//
// Copyright (C) 2018 - 2022 J&J Ideenschmiede GmbH <[email protected]>
//
// This file is part of gotradebyte.
// All code may be used. Feel free and maybe code something better.
//
// Author: Jonas Kwiedor (aka gowizzard)
//
//********************************************************************************************************************//
package gotradebyte
// MESSAGES_LIST is to encode xml data
type MESSAGES_LIST struct {
Message []DeliveryMessagesBodyMessage `xml:"MESSAGE"`
}
type DeliveryMessagesBodyMessage struct {
MessageType string `xml:"MESSAGE_TYPE"`
TbOrderId int `xml:"TB_ORDER_ID"`
TbOrderItemId int `xml:"TB_ORDER_ITEM_ID"`
Sku string `xml:"SKU"`
ChannelSign string `xml:"CHANNEL_SIGN"`
ChannelOrderId string `xml:"CHANNEL_ORDER_ID"`
Quantity int `xml:"QUANTITY"`
CarrierParcelType string `xml:"CARRIER_PARCEL_TYPE"`
IdCode string `xml:"IDCODE"`
}