Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
S Riemersma committed Apr 7, 2023
2 parents 1f2e726 + 528ffed commit f7c4aed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parcel.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ type Parcel struct {
Method int64 `json:"method"`
PhoneNumber *string `json:"phone_number"`
TrackingNumber string `json:"tracking_number"`
TrackingUrl string `json:"tracking_url"`
ServicePointID *int64 `json:"to_service_point"`
Weight string `json:"weight"`
Label string `json:"label"`
Expand Down Expand Up @@ -174,6 +175,7 @@ type ParcelResponse struct {
ToServicePointID *int64 `json:"to_service_point"`
Telephone *string `json:"telephone"`
TrackingNumber string `json:"tracking_number"`
TrackingUrl string `json:"tracking_url"`
Weight string `json:"weight"`
Label LabelResponse `json:"label"`
OrderNumber string `json:"order_number"`
Expand Down Expand Up @@ -277,6 +279,7 @@ func (p *ParcelResponseContainer) GetResponse() interface{} {
CountryCode: p.Parcel.Country.Iso2,
PhoneNumber: p.Parcel.Telephone,
TrackingNumber: p.Parcel.TrackingNumber,
TrackingUrl: p.Parcel.TrackingUrl,
ServicePointID: p.Parcel.ToServicePointID,
Label: p.Parcel.Label.LabelPrinter,
OrderNumber: p.Parcel.OrderNumber,
Expand Down

0 comments on commit f7c4aed

Please sign in to comment.