From 9738cf09983d89b63c5e2468fb796609eb8fc0df Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:23:57 +0000 Subject: [PATCH] Update generated code for v660 --- OPENAPI_VERSION | 2 +- .../Entities/Issuing/Transactions/Transaction.cs | 6 ++++++ .../Transactions/TransactionNetworkData.cs | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/Stripe.net/Entities/Issuing/Transactions/TransactionNetworkData.cs diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index eee8847d6e..ce189aca5a 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v658 \ No newline at end of file +v660 \ No newline at end of file diff --git a/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs b/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs index 555b55b282..13d429df4c 100644 --- a/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs +++ b/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs @@ -249,6 +249,12 @@ public Dispute Dispute [JsonProperty("metadata")] public Dictionary Metadata { get; set; } + /// + /// Details about the transaction, such as processing dates, set by the card network. + /// + [JsonProperty("network_data")] + public TransactionNetworkData NetworkData { get; set; } + /// /// Additional purchase information that is optionally provided by the merchant. /// diff --git a/src/Stripe.net/Entities/Issuing/Transactions/TransactionNetworkData.cs b/src/Stripe.net/Entities/Issuing/Transactions/TransactionNetworkData.cs new file mode 100644 index 0000000000..5daa80d998 --- /dev/null +++ b/src/Stripe.net/Entities/Issuing/Transactions/TransactionNetworkData.cs @@ -0,0 +1,16 @@ +// File generated from our OpenAPI spec +namespace Stripe.Issuing +{ + using Newtonsoft.Json; + + public class TransactionNetworkData : StripeEntity + { + /// + /// The date the transaction was processed by the card network. This can be different from + /// the date the seller recorded the transaction depending on when the acquirer submits the + /// transaction to the network. + /// + [JsonProperty("processing_date")] + public string ProcessingDate { get; set; } + } +}