Skip to content

Commit

Permalink
Merge pull request #53 from jjideenschmiede/development
Browse files Browse the repository at this point in the history
fix: Add new types in struct.
  • Loading branch information
gowizzard authored Aug 28, 2024
2 parents b487de2 + 8f1aadd commit 7e0885e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orders.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type OrderReturn struct {
CancelReason interface{} `json:"cancel_reason"`
CancelledAt interface{} `json:"cancelled_at"`
CartToken string `json:"cart_token"`
CheckoutId int64 `json:"checkout_id"`
CheckoutId int `json:"checkout_id"`
CheckoutToken string `json:"checkout_token"`
ClientDetails struct {
AcceptLanguage string `json:"accept_language"`
Expand All @@ -31,6 +31,7 @@ type OrderReturn struct {
UserAgent string `json:"user_agent"`
} `json:"client_details"`
ClosedAt interface{} `json:"closed_at"`
ConfirmationNumber string `json:"confirmation_number"`
Confirmed bool `json:"confirmed"`
ContactEmail string `json:"contact_email"`
CreatedAt time.Time `json:"created_at"`
Expand Down

0 comments on commit 7e0885e

Please sign in to comment.