Skip to content

Commit

Permalink
Merge pull request #5 from jjideenschmiede/development
Browse files Browse the repository at this point in the history
Update order
  • Loading branch information
gowizzard authored Dec 10, 2021
2 parents 40d741e + dc5aa42 commit fe135cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions orders.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type OrderReturn struct {
BuyerAcceptsMarketing bool `json:"buyer_accepts_marketing"`
CancelReason interface{} `json:"cancel_reason"`
CancelledAt interface{} `json:"cancelled_at"`
CartToken *string `json:"cart_token"`
CartToken string `json:"cart_token"`
CheckoutId int64 `json:"checkout_id"`
CheckoutToken string `json:"checkout_token"`
ClientDetails struct {
Expand Down Expand Up @@ -202,7 +202,7 @@ type OrderReturn struct {
Country string `json:"country"`
LastName string `json:"last_name"`
Address2 string `json:"address2"`
Company *string `json:"company"`
Company string `json:"company"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Name string `json:"name"`
Expand Down Expand Up @@ -238,7 +238,7 @@ type OrderReturn struct {
CustomerId int64 `json:"customer_id"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Company *string `json:"company"`
Company string `json:"company"`
Address1 string `json:"address1"`
Address2 string `json:"address2"`
City string `json:"city"`
Expand Down Expand Up @@ -323,7 +323,7 @@ type OrderReturn struct {
Country string `json:"country"`
LastName string `json:"last_name"`
Address2 string `json:"address2"`
Company *string `json:"company"`
Company string `json:"company"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
Name string `json:"name"`
Expand Down

0 comments on commit fe135cc

Please sign in to comment.