From 8f016e461915f75c39d9eb4eed4a588f183522e3 Mon Sep 17 00:00:00 2001 From: Olivier Bellone Date: Wed, 3 Oct 2018 16:16:57 +0200 Subject: [PATCH] Address comments --- src/Stripe.net/Entities/Discounts/Discount.cs | 2 +- src/Stripe.net/Entities/Recipients/RecipientActiveAccount.cs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Stripe.net/Entities/Discounts/Discount.cs b/src/Stripe.net/Entities/Discounts/Discount.cs index 1ab8fe314f..4ef3297fbc 100644 --- a/src/Stripe.net/Entities/Discounts/Discount.cs +++ b/src/Stripe.net/Entities/Discounts/Discount.cs @@ -4,7 +4,7 @@ namespace Stripe using Newtonsoft.Json; using Stripe.Infrastructure; - public class Discount : StripeEntityWithIdAndObject + public class Discount : StripeEntityWithObject { [JsonProperty("coupon")] public Coupon Coupon { get; set; } diff --git a/src/Stripe.net/Entities/Recipients/RecipientActiveAccount.cs b/src/Stripe.net/Entities/Recipients/RecipientActiveAccount.cs index 03a40ce887..2c0b1489ca 100644 --- a/src/Stripe.net/Entities/Recipients/RecipientActiveAccount.cs +++ b/src/Stripe.net/Entities/Recipients/RecipientActiveAccount.cs @@ -3,11 +3,8 @@ namespace Stripe using System.Collections.Generic; using Newtonsoft.Json; - public class RecipientActiveAccount : StripeEntityWithId + public class RecipientActiveAccount : StripeEntityWithIdAndObject { - [JsonProperty("object")] - public string Object { get; set; } - [JsonProperty("bank_name")] public string BankName { get; set; }