Skip to content

Commit

Permalink
Fixing LineItems to be LineItemList on Checkout Session
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-stripe committed May 14, 2020
1 parent 314a64e commit d79eb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkout_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ type CheckoutSession struct {
Deleted bool `json:"deleted"`
DisplayItems []*CheckoutSessionDisplayItem `json:"display_items"`
ID string `json:"id"`
LineItems []*LineItem `json:"line_items"`
LineItems *LineItemList `json:"line_items"`
Livemode bool `json:"livemode"`
Locale string `json:"locale"`
Metadata map[string]string `json:"metadata"`
Expand Down

0 comments on commit d79eb67

Please sign in to comment.