Skip to content

Commit

Permalink
Merge pull request #80 from jjideenschmiede/development
Browse files Browse the repository at this point in the history
feat: Add new types to sold items return struct.
gowizzard authored Dec 5, 2024
2 parents 2ea7d51 + c0b8bf9 commit 883a536
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions sold_items.go
Original file line number Diff line number Diff line change
@@ -241,13 +241,26 @@ type SoldItemsReturnTags struct {
}

type SoldItemsReturnShippingInfo struct {
XmlName xml.Name `xml:"ShippingInfo"`
ShippingMethod string `xml:"ShippingMethod"`
ShippingCost string `xml:"ShippingCost"`
ShippingAdditionalCost string `xml:"ShippingAdditionalCost"`
ShippingTotalCost string `xml:"ShippingTotalCost"`
ShippingTaxRate string `xml:"ShippingTaxRate"`
DeliveryDate string `xml:"DeliveryDate"`
XmlName xml.Name `xml:"ShippingInfo"`
ShippingMethod string `xml:"ShippingMethod"`
ShippingCost string `xml:"ShippingCost"`
ShippingAdditionalCost string `xml:"ShippingAdditionalCost"`
ShippingTotalCost string `xml:"ShippingTotalCost"`
ShippingTaxRate string `xml:"ShippingTaxRate"`
DeliveryDate string `xml:"DeliveryDate"`
ParcelLabels SoldItemsReturnParcelLabels `xml:"ParcelLabels"`
}

type SoldItemsReturnParcelLabels struct {
XmlName xml.Name `xml:"ParcelLabels"`
ParcelLabel []SoldItemsReturnParcelLabel `xml:"ParcelLabel"`
}

type SoldItemsReturnParcelLabel struct {
XmlName xml.Name `xml:"ParcelLabel"`
ItemID int `xml:"ItemID"`
PackageNumber int `xml:"PackageNumber"`
ParcelLabelNumber string `xml:"ParcelLabelNumber"`
}

type SoldItemsReturnVorgangsInfo struct {

0 comments on commit 883a536

Please sign in to comment.