Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PreferredLocales on Charge for payments made via Interac Present transactions #2233

Merged
merged 1 commit into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;

public class ChargePaymentMethodDetailsInteracPresent : StripeEntity<ChargePaymentMethodDetailsInteracPresent>
Expand Down Expand Up @@ -103,6 +104,12 @@ public class ChargePaymentMethodDetailsInteracPresent : StripeEntity<ChargePayme
[JsonProperty("network")]
public string Network { get; set; }

/// <summary>
/// EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
/// </summary>
[JsonProperty("preferred_locales")]
public List<string> PreferredLocales { get; set; }

/// <summary>
/// How card details were read in this transaction.
/// One of: <c>contact_emv</c>, <c>contactless_emv</c>, <c>contactless_magstripe_mode</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public class PaymentIntentPaymentMethodOptions : StripeEntity<PaymentIntentPayme
[JsonProperty("oxxo")]
public PaymentIntentPaymentMethodOptionsOxxo Oxxo { get; set; }

[JsonProperty("p24")]
public PaymentIntentPaymentMethodOptionsP24 P24 { get; set; }

[JsonProperty("sofort")]
public PaymentIntentPaymentMethodOptionsSofort Sofort { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe
{
public class PaymentIntentPaymentMethodOptionsP24 : StripeEntity<PaymentIntentPaymentMethodOptionsP24>
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ public class PaymentIntentPaymentMethodOptionsOptions : INestedOptions
[JsonProperty("oxxo")]
public PaymentIntentPaymentMethodOptionsOxxoOptions Oxxo { get; set; }

/// <summary>
/// If this is a <c>p24</c> PaymentMethod, this sub-hash contains details about the
/// Przelewy24 payment method options.
/// </summary>
[JsonProperty("p24")]
public PaymentIntentPaymentMethodOptionsP24Options P24 { get; set; }

/// <summary>
/// If this is a <c>sofort</c> PaymentMethod, this sub-hash contains details about the
/// SOFORT payment method options.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe
{
public class PaymentIntentPaymentMethodOptionsP24Options : INestedOptions
{
}
}