Skip to content

Commit

Permalink
added current_quantity to LineItem (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
masp-92 authored Jul 3, 2024
1 parent 59f2103 commit e0f9e0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions order.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ type LineItem struct {
ProductId uint64 `json:"product_id,omitempty"`
VariantId uint64 `json:"variant_id,omitempty"`
Quantity int `json:"quantity,omitempty"`
CurrentQuantity int `json:"current_quantity,omitempty"`
Price *decimal.Decimal `json:"price,omitempty"`
TotalDiscount *decimal.Decimal `json:"total_discount,omitempty"`
Title string `json:"title,omitempty"`
Expand Down

0 comments on commit e0f9e0d

Please sign in to comment.