diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index a981948cb7..0000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,25 +0,0 @@ - -# Contributing - -We welcome bug reports, feature requests, and code contributions in a pull request. - -For most pull requests, we request that you identify or create an associated issue that has the necessary context. We use these issues to reach agreement on an approach and save the PR author from having to redo work. Fixing typos or documentation issues likely do not need an issue; for any issue that introduces substantial code changes, changes the public interface, or if you aren't sure, please find or [create an issue](https://www.github.com/stripe/stripe-dotnet/issues/new/choose). - -## Contributor License Agreement - -All contributors must sign the Contributor License Agreement (CLA) before we can accept their contribution. If you have not yet signed the agreement, you will be given an option to do so when you open a pull request. You can then sign by clicking on the badge in the comment from @CLAassistant. - -## Generated code - -This project has a combination of manually maintained code and code generated from our private code generator. If your contribution involves changes to generated code, please call this out in the issue or pull request as we will likely need to make a change to our code generator before accepting the contribution. - -To identify files with purely generated code, look for the comment `File generated from our OpenAPI spec.` at the start of the file. Generated blocks of code within hand-written files will be between comments that say `The beginning of the section generated from our OpenAPI spec` and `The end of the section generated from our OpenAPI spec`. - -## Compatibility with supported language and runtime versions - -This project supports [many different langauge and runtime versions](README.md#requirements) and we are unable to accept any contribution that does not work on _all_ supported versions. If, after discussing the approach in the associated issue, your change must use an API / feature that isn't available in all supported versions, please call this out explicitly in the issue or pull request so we can help figure out the best way forward. - -## Set up your dev environment - -Please refer to this project's [README.md](README.md#development) for instructions on how to set up your development environment. - diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 4624c15fbd..5454d94e19 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1454 \ No newline at end of file +v1460 \ No newline at end of file diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs index 0216e395fa..62cee01d45 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs @@ -240,10 +240,8 @@ public class ChargePaymentMethodDetailsCard : StripeEntity /// This is used by the financial networks to identify a transaction. Visa calls this the /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the - /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network - /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent - /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or - /// American Express transactions and always null for other card brands. + /// Acquirer Reference Data. This value will be present if it is returned by the financial + /// network in the authorization response, and null otherwise. /// [JsonProperty("network_transaction_id")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs index 6cf1a56195..3db0b86a70 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs @@ -205,10 +205,8 @@ public class ChargePaymentMethodDetailsCardPresent : StripeEntity /// This is used by the financial networks to identify a transaction. Visa calls this the /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the - /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network - /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent - /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or - /// American Express transactions and always null for other card brands. + /// Acquirer Reference Data. This value will be present if it is returned by the financial + /// network in the authorization response, and null otherwise. /// [JsonProperty("network_transaction_id")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsInteracPresent.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsInteracPresent.cs index d49391d2f8..385f33781b 100644 --- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsInteracPresent.cs +++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsInteracPresent.cs @@ -159,10 +159,8 @@ public class ChargePaymentMethodDetailsInteracPresent : StripeEntity /// This is used by the financial networks to identify a transaction. Visa calls this the /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the - /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network - /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent - /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or - /// American Express transactions and always null for other card brands. + /// Acquirer Reference Data. This value will be present if it is returned by the financial + /// network in the authorization response, and null otherwise. /// [JsonProperty("network_transaction_id")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs index 164022342e..d56c5af90d 100644 --- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs @@ -205,10 +205,8 @@ public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethod /// /// This is used by the financial networks to identify a transaction. Visa calls this the /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the - /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network - /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent - /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or - /// American Express transactions and always null for other card brands. + /// Acquirer Reference Data. This value will be present if it is returned by the financial + /// network in the authorization response, and null otherwise. /// [JsonProperty("network_transaction_id")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs index d35de92e4f..ddcf678b11 100644 --- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs +++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs @@ -205,10 +205,8 @@ public class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent : Str /// /// This is used by the financial networks to identify a transaction. Visa calls this the /// Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the - /// Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network - /// Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent - /// the date (MM/DD). This field will be available for successful Visa, Mastercard, or - /// American Express transactions and always null for other card brands. + /// Acquirer Reference Data. This value will be present if it is returned by the financial + /// network in the authorization response, and null otherwise. /// [JsonProperty("network_transaction_id")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs index a5de0bf726..400f3d27ea 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionCollectPaymentMethod.cs @@ -86,14 +86,5 @@ public PaymentIntent PaymentIntent [STJS.JsonPropertyName("payment_method")] #endif public PaymentMethod PaymentMethod { get; set; } - - /// - /// This field will be deprecated. Please use account instead. - /// - [JsonProperty("stripe_account")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("stripe_account")] -#endif - public string StripeAccount { get; set; } } } diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionConfirmPaymentIntent.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionConfirmPaymentIntent.cs index 0b816ee667..513832ba4b 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionConfirmPaymentIntent.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionConfirmPaymentIntent.cs @@ -61,14 +61,5 @@ public PaymentIntent PaymentIntent #endif internal ExpandableField InternalPaymentIntent { get; set; } #endregion - - /// - /// This field will be deprecated. Please use account instead. - /// - [JsonProperty("stripe_account")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("stripe_account")] -#endif - public string StripeAccount { get; set; } } } diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionProcessPaymentIntent.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionProcessPaymentIntent.cs index b34618911d..92fd3081a5 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionProcessPaymentIntent.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionProcessPaymentIntent.cs @@ -70,14 +70,5 @@ public PaymentIntent PaymentIntent [STJS.JsonPropertyName("process_config")] #endif public ReaderActionProcessPaymentIntentProcessConfig ProcessConfig { get; set; } - - /// - /// This field will be deprecated. Please use account instead. - /// - [JsonProperty("stripe_account")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("stripe_account")] -#endif - public string StripeAccount { get; set; } } } diff --git a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs index 1cb0c058d0..35150f0686 100644 --- a/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs +++ b/src/Stripe.net/Entities/Terminal/Readers/ReaderActionRefundPayment.cs @@ -208,14 +208,5 @@ public Refund Refund [STJS.JsonPropertyName("reverse_transfer")] #endif public bool ReverseTransfer { get; set; } - - /// - /// This field will be deprecated. Please use account instead. - /// - [JsonProperty("stripe_account")] -#if NET6_0_OR_GREATER - [STJS.JsonPropertyName("stripe_account")] -#endif - public string StripeAccount { get; set; } } }