Skip to content

Commit

Permalink
Correct OrderLineItem quantity to a ulong not a decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Jul 12, 2023
1 parent 03f6ac1 commit 0641454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WooCommerce/v2/Order.cs
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public class OrderLineItem : JsonObject
/// Quantity ordered.
/// </summary>
[DataMember(EmitDefaultValue = false)]
public decimal? quantity { get; set; }
public ulong? quantity { get; set; }

/// <summary>
/// Tax class of product.
Expand Down

0 comments on commit 0641454

Please sign in to comment.