Skip to content

Commit

Permalink
Merge pull request #81 from jjideenschmiede/development
Browse files Browse the repository at this point in the history
fix: Add missing one for sold item struct.
  • Loading branch information
gowizzard authored Dec 5, 2024
2 parents 883a536 + 5a3b22c commit 05c4ca5
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
Expand Up @@ -501,13 +501,26 @@ type SoldItemReturnTags struct {
}

type SoldItemReturnShippingInfo 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 SoldItemReturnParcelLabels `xml:"ParcelLabels"`
}

type SoldItemReturnParcelLabels struct {
XmlName xml.Name `xml:"ParcelLabels"`
ParcelLabel []SoldItemReturnParcelLabel `xml:"ParcelLabel"`
}

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

type SoldItemReturnVorgangsInfo struct {
Expand Down

0 comments on commit 05c4ca5

Please sign in to comment.