From 29ba24b79cd32955bafd99a556966405f7955c28 Mon Sep 17 00:00:00 2001 From: CJ Avilla Date: Mon, 6 Jul 2020 14:32:34 -0700 Subject: [PATCH] Adds missing fields found with autogen --- .../PaymentIntentPaymentMethodOptionsCard.cs | 7 +++++++ src/Stripe.net/Entities/Sources/SourceReceiver.cs | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs index 0a0c9db3eb..357ca28ab1 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs @@ -11,6 +11,13 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity + /// Selected network to process this PaymentIntent on. Depends on the available networks of the card + /// attached to the PaymentIntent. Can be only set confirm-time. + /// + [JsonProperty("network")] + public string Network { get; set; } + /// /// We strongly recommend that you rely on our SCA engine to automatically prompt your /// customers for authentication based on risk level and other requirements. However, if diff --git a/src/Stripe.net/Entities/Sources/SourceReceiver.cs b/src/Stripe.net/Entities/Sources/SourceReceiver.cs index f46a00f78f..67cc9adca8 100644 --- a/src/Stripe.net/Entities/Sources/SourceReceiver.cs +++ b/src/Stripe.net/Entities/Sources/SourceReceiver.cs @@ -27,5 +27,19 @@ public class SourceReceiver : StripeEntity /// [JsonProperty("amount_returned")] public long AmountReturned { get; set; } + + /// + /// Type of refund attribute method, one of email, manual, + /// or none. + /// + [JsonProperty("refund_attributes_method")] + public string RefundAttributesMethod { get; set; } + + /// + /// Type of refund attribute status, one of missing, requested, or + /// available. + /// + [JsonProperty("refund_attributes_status")] + public string RefundAttributesStatus { get; set; } } }