Open nyan-cat opened 6 months ago
RefundLineItem has this decimal property:
decimal
[JsonProperty("total_tax")] public decimal? TotalTax { get; set; }
And PriceSet version of it:
PriceSet
[JsonProperty("total_tax_set")] public PriceSet TotalTaxSet { get; set; }
All good so far. Also it has this decimal property:
[JsonProperty("subtotal")] public decimal? SubTotal { get; set; }
And this PriceSet version:
[JsonProperty("subtotal_set")] public PriceSet SubTotalTaxSet { get; set; }
JSON name is subtotal_set, but C# name is SubTotalTaxSet. Is that a typo? Shouldn't it be just SubTotalSet, which is not related to taxes?
subtotal_set
SubTotalTaxSet
SubTotalSet
Hey, good catch! It does look like a copy/paste issue. I'll get this fixed!
RefundLineItem has this
decimal
property:And
PriceSet
version of it:All good so far. Also it has this
decimal
property:And this
PriceSet
version:JSON name is
subtotal_set
, but C# name isSubTotalTaxSet
. Is that a typo? Shouldn't it be justSubTotalSet
, which is not related to taxes?