From fea782a2b3d7c2564798a54f52473dc3bc4c07be Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Wed, 29 Aug 2018 15:04:41 -0400 Subject: [PATCH] Fix the Coupon resource as percent_off is now a decimal --- src/Stripe.net/Entities/StripeCoupon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stripe.net/Entities/StripeCoupon.cs b/src/Stripe.net/Entities/StripeCoupon.cs index 3db2b48ed3..d4ecfee251 100644 --- a/src/Stripe.net/Entities/StripeCoupon.cs +++ b/src/Stripe.net/Entities/StripeCoupon.cs @@ -39,7 +39,7 @@ public class StripeCoupon : StripeEntityWithId, ISupportMetadata public string Name { get; set; } [JsonProperty("percent_off")] - public int? PercentOff { get; set; } + public decimal? PercentOff { get; set; } [JsonProperty("redeem_by")] [JsonConverter(typeof(StripeDateTimeConverter))]