Skip to content
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
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3ccf295957c8cadc88e1463ea3ab4ec683a0314f
6d15a7f20cb77c2c22091a30e499cb89d7e3248c
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2102
v2111
5 changes: 3 additions & 2 deletions src/Stripe.net/Entities/Accounts/AccountSettingsInvoices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ public List<TaxId> DefaultAccountTaxIds
#endregion

/// <summary>
/// Whether payment methods should be saved when a payment is completed for a one-time
/// invoices on a hosted invoice page.
/// Whether to save the payment method after a payment is completed for a one-time invoice
/// or a subscription invoice when the customer already has a default payment method on the
/// hosted invoice page.
/// One of: <c>always</c>, <c>never</c>, or <c>offer</c>.
/// </summary>
[JsonProperty("hosted_payment_method_save")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public PaymentRecord PaymentRecord

/// <summary>
/// Type of payment object associated with this invoice payment.
/// One of: <c>charge</c>, or <c>payment_intent</c>.
/// One of: <c>charge</c>, <c>payment_intent</c>, or <c>payment_record</c>.
/// </summary>
[JsonProperty("type")]
#if NET6_0_OR_GREATER
Expand Down
5 changes: 3 additions & 2 deletions src/Stripe.net/Entities/Invoices/Invoice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,9 @@ public Application Application
/// <c>subscription_create</c>: A new subscription was created. * <c>subscription_cycle</c>:
/// A subscription advanced into a new period. * <c>subscription_threshold</c>: A
/// subscription reached a billing threshold. * <c>subscription_update</c>: A subscription
/// was updated. * <c>upcoming</c>: Reserved for simulated invoices, per the upcoming
/// invoice endpoint.
/// was updated. * <c>upcoming</c>: Reserved for upcoming invoices created through the
/// Create Preview Invoice API or when an <c>invoice.upcoming</c> event is generated for an
/// upcoming invoice on a subscription.
/// One of: <c>automatic_pending_invoice_item_invoice</c>, <c>manual</c>,
/// <c>quote_accept</c>, <c>subscription</c>, <c>subscription_create</c>,
/// <c>subscription_cycle</c>, <c>subscription_threshold</c>, <c>subscription_update</c>, or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ namespace Stripe

public class PaymentIntentPaymentMethodOptionsCardPresent : StripeEntity<PaymentIntentPaymentMethodOptionsCardPresent>
{
/// <summary>
/// Controls when the funds will be captured from the customer's account.
/// One of: <c>manual</c>, or <c>manual_preferred</c>.
/// </summary>
[JsonProperty("capture_method")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("capture_method")]
#endif
public string CaptureMethod { get; set; }

/// <summary>
/// Request ability to capture this payment beyond the standard <a
/// href="https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity">authorization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public class MeterEvent : StripeEntity<MeterEvent>, IHasObject
/// The payload of the event. This must contain the fields corresponding to a meter’s
/// <c>customer_mapping.event_payload_key</c> (default is <c>stripe_customer_id</c>) and
/// <c>value_settings.event_payload_key</c> (default is <c>value</c>). Read more about the
/// payload.
/// <a
/// href="https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides">payload</a>..
/// </summary>
[JsonProperty("payload")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ public class AccountSettingsInvoicesOptions : INestedOptions
public List<string> DefaultAccountTaxIds { get; set; }

/// <summary>
/// Whether payment methods should be saved when a payment is completed for a one-time
/// invoices on a hosted invoice page.
/// Whether to save the payment method after a payment is completed for a one-time invoice
/// or a subscription invoice when the customer already has a default payment method on the
/// hosted invoice page.
/// One of: <c>always</c>, <c>never</c>, or <c>offer</c>.
/// </summary>
[JsonProperty("hosted_payment_method_save")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Stripe
public class CustomerSessionCreateOptions : BaseOptions
{
/// <summary>
/// Configuration for each component. Exactly 1 component must be enabled.
/// Configuration for each component. At least 1 component must be enabled.
/// </summary>
[JsonProperty("components")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ namespace Stripe

public class PaymentIntentPaymentMethodOptionsCardPresentOptions : INestedOptions
{
/// <summary>
/// Controls when the funds are captured from the customer's account.
///
/// If provided, this parameter overrides the behavior of the top-level <a
/// href="https://stripe.com/api/payment_intents/update#update_payment_intent-capture_method">capture_method</a>
/// for this payment method type when finalizing the payment with this payment method type.
///
/// If <c>capture_method</c> is already set on the PaymentIntent, providing an empty value
/// for this parameter unsets the stored value for this payment method type.
/// One of: <c>manual</c>, or <c>manual_preferred</c>.
/// </summary>
[JsonProperty("capture_method")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("capture_method")]
#endif
public string CaptureMethod { get; set; }

/// <summary>
/// Request ability to capture this payment beyond the standard <a
/// href="https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity">authorization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Stripe.Terminal
public class ConfigurationBbposWisepad3Options : INestedOptions
{
/// <summary>
/// A File ID representing an image you would like displayed on the reader.
/// A File ID representing an image you want to display on the reader.
/// </summary>
[JsonProperty("splashscreen")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ConfigurationCreateOptions : BaseOptions
public ConfigurationOfflineOptions Offline { get; set; }

/// <summary>
/// Reboot time settings for readers that support customized reboot time configuration.
/// Reboot time settings for readers. that support customized reboot time configuration.
/// </summary>
[JsonProperty("reboot_window")]
#if NET6_0_OR_GREATER
Expand All @@ -63,7 +63,7 @@ public class ConfigurationCreateOptions : BaseOptions
public ConfigurationStripeS700Options StripeS700 { get; set; }

/// <summary>
/// Tipping configurations for readers supporting on-reader tips.
/// Tipping configurations for readers. supporting on-reader tips.
/// </summary>
[JsonProperty("tipping")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Stripe.Terminal
public class ConfigurationStripeS700Options : INestedOptions
{
/// <summary>
/// A File ID representing an image you would like displayed on the reader.
/// A File ID representing an image you want to display on the reader.
/// </summary>
[JsonProperty("splashscreen")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ConfigurationUpdateOptions : BaseOptions
public ConfigurationOfflineOptions Offline { get; set; }

/// <summary>
/// Reboot time settings for readers that support customized reboot time configuration.
/// Reboot time settings for readers. that support customized reboot time configuration.
/// </summary>
[JsonProperty("reboot_window")]
#if NET6_0_OR_GREATER
Expand All @@ -63,7 +63,7 @@ public class ConfigurationUpdateOptions : BaseOptions
public ConfigurationStripeS700Options StripeS700 { get; set; }

/// <summary>
/// Tipping configurations for readers supporting on-reader tips.
/// Tipping configurations for readers. supporting on-reader tips.
/// </summary>
[JsonProperty("tipping")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Stripe.Terminal
public class ConfigurationVerifoneP400Options : INestedOptions
{
/// <summary>
/// A File ID representing an image you would like displayed on the reader.
/// A File ID representing an image you want to display on the reader.
/// </summary>
[JsonProperty("splashscreen")]
#if NET6_0_OR_GREATER
Expand Down
Loading