Skip to content

Commit

Permalink
fix: Add several missing fields to the Order model (bold-commerce#214)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver <[email protected]>
  • Loading branch information
sradevski and oliver006 authored Jun 17, 2023
1 parent 8813f0d commit 933070b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions order.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,13 @@ type Order struct {
TotalPrice *decimal.Decimal `json:"total_price,omitempty"`
CurrentTotalPrice *decimal.Decimal `json:"current_total_price,omitempty"`
SubtotalPrice *decimal.Decimal `json:"subtotal_price,omitempty"`
CurrentSubtotalPrice *decimal.Decimal `json:"current_subtotal_price,omitempty"`
TotalDiscounts *decimal.Decimal `json:"total_discounts,omitempty"`
CurrentTotalDiscounts *decimal.Decimal `json:"current_total_discounts,omitempty"`
TotalLineItemsPrice *decimal.Decimal `json:"total_line_items_price,omitempty"`
TaxesIncluded bool `json:"taxes_included,omitempty"`
TotalTax *decimal.Decimal `json:"total_tax,omitempty"`
CurrentTotalTax *decimal.Decimal `json:"current_total_tax,omitempty"`
TaxLines []TaxLine `json:"tax_lines,omitempty"`
TotalWeight int `json:"total_weight,omitempty"`
FinancialStatus string `json:"financial_status,omitempty"`
Expand Down

0 comments on commit 933070b

Please sign in to comment.