From 22244db110bfd64dc3443427227ba71abe2d40c8 Mon Sep 17 00:00:00 2001 From: TekuSP Date: Fri, 18 Oct 2024 15:25:51 +0200 Subject: [PATCH] fix: Update TaxLine to have channelLiable, ratePercentage and source --- ShopifySharp/Entities/TaxLine.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ShopifySharp/Entities/TaxLine.cs b/ShopifySharp/Entities/TaxLine.cs index 59a5ee907..6615cba65 100644 --- a/ShopifySharp/Entities/TaxLine.cs +++ b/ShopifySharp/Entities/TaxLine.cs @@ -4,6 +4,12 @@ namespace ShopifySharp; public class TaxLine { + /// + /// Whether the channel that submitted the tax line is responsible for remitting it. + /// + [JsonProperty("channelLiable")] + public bool ChannelLiable { get; set; } + /// /// The amount of tax to be charged. /// @@ -16,6 +22,18 @@ public class TaxLine [JsonProperty("rate")] public decimal? Rate { get; set; } + /// + /// The proportion of the line item price represented by the tax, expressed as a percentage. + /// + [JsonProperty("ratePercentage")] + public decimal? RatePercentage { get; set; } + + /// + /// The origin of the tax. + /// + [JsonProperty("source")] + public string Source { get; set; } + /// /// The name of the tax. ///