Skip to content

Commit dc9799f

Browse files
committed
Automated update
1 parent 033dfc6 commit dc9799f

24 files changed

+174
-43
lines changed

spec3.json

Lines changed: 51 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@
13421342
"type": "array"
13431343
},
13441344
"hosted_payment_method_save": {
1345-
"description": "Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.",
1345+
"description": "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.",
13461346
"enum": [
13471347
"always",
13481348
"never",
@@ -7407,7 +7407,8 @@
74077407
"enum": [
74087408
"none"
74097409
],
7410-
"type": "string"
7410+
"type": "string",
7411+
"x-stripeBypassValidation": true
74117412
}
74127413
},
74137414
"title": "CheckoutAlipayPaymentMethodOptions",
@@ -18248,7 +18249,7 @@
1824818249
"type": "integer"
1824918250
},
1825018251
"billing_reason": {
18251-
"description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.",
18252+
"description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.",
1825218253
"enum": [
1825318254
"automatic_pending_invoice_item_invoice",
1825418255
"manual",
@@ -38163,6 +38164,14 @@
3816338164
"payment_method_options_card_present": {
3816438165
"description": "",
3816538166
"properties": {
38167+
"capture_method": {
38168+
"description": "Controls when the funds will be captured from the customer's account.",
38169+
"enum": [
38170+
"manual",
38171+
"manual_preferred"
38172+
],
38173+
"type": "string"
38174+
},
3816638175
"request_extended_authorization": {
3816738176
"description": "Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)",
3816838177
"nullable": true,
@@ -60561,7 +60570,7 @@
6056160570
"description": "The Stripe REST API. Please see https://stripe.com/docs/api for more details.",
6056260571
"termsOfService": "https://stripe.com/us/terms/",
6056360572
"title": "Stripe API",
60564-
"version": "2025-10-29.clover",
60573+
"version": "2025-11-17.clover",
6056560574
"x-stripeSpecFilename": "spec3"
6056660575
},
6056760576
"openapi": "3.0.0",
@@ -80464,7 +80473,8 @@
8046480473
"enum": [
8046580474
"none"
8046680475
],
80467-
"type": "string"
80476+
"type": "string",
80477+
"x-stripeBypassValidation": true
8046880478
}
8046980479
},
8047080480
"title": "payment_method_options_param",
@@ -86033,7 +86043,7 @@
8603386043
"additionalProperties": false,
8603486044
"properties": {
8603586045
"components": {
86036-
"description": "Configuration for each component. Exactly 1 component must be enabled.",
86046+
"description": "Configuration for each component. At least 1 component must be enabled.",
8603786047
"properties": {
8603886048
"buy_button": {
8603986049
"properties": {
@@ -121008,6 +121018,13 @@
121008121018
"anyOf": [
121009121019
{
121010121020
"properties": {
121021+
"capture_method": {
121022+
"enum": [
121023+
"manual",
121024+
"manual_preferred"
121025+
],
121026+
"type": "string"
121027+
},
121011121028
"request_extended_authorization": {
121012121029
"type": "boolean"
121013121030
},
@@ -124741,6 +124758,13 @@
124741124758
"anyOf": [
124742124759
{
124743124760
"properties": {
124761+
"capture_method": {
124762+
"enum": [
124763+
"manual",
124764+
"manual_preferred"
124765+
],
124766+
"type": "string"
124767+
},
124744124768
"request_extended_authorization": {
124745124769
"type": "boolean"
124746124770
},
@@ -129035,6 +129059,13 @@
129035129059
"anyOf": [
129036129060
{
129037129061
"properties": {
129062+
"capture_method": {
129063+
"enum": [
129064+
"manual",
129065+
"manual_preferred"
129066+
],
129067+
"type": "string"
129068+
},
129038129069
"request_extended_authorization": {
129039129070
"type": "boolean"
129040129071
},
@@ -169526,7 +169557,7 @@
169526169557
"additionalProperties": false,
169527169558
"properties": {
169528169559
"bbpos_wisepad3": {
169529-
"description": "An object containing device type specific settings for BBPOS WisePad 3 readers",
169560+
"description": "An object containing device type specific settings for BBPOS WisePad 3 readers.",
169530169561
"properties": {
169531169562
"splashscreen": {
169532169563
"anyOf": [
@@ -169546,7 +169577,7 @@
169546169577
"type": "object"
169547169578
},
169548169579
"bbpos_wisepos_e": {
169549-
"description": "An object containing device type specific settings for BBPOS WisePOS E readers",
169580+
"description": "An object containing device type specific settings for BBPOS WisePOS E readers.",
169550169581
"properties": {
169551169582
"splashscreen": {
169552169583
"anyOf": [
@@ -169602,7 +169633,7 @@
169602169633
"description": "Configurations for collecting transactions offline."
169603169634
},
169604169635
"reboot_window": {
169605-
"description": "Reboot time settings for readers that support customized reboot time configuration.",
169636+
"description": "Reboot time settings for readers. that support customized reboot time configuration.",
169606169637
"properties": {
169607169638
"end_hour": {
169608169639
"type": "integer"
@@ -169619,7 +169650,7 @@
169619169650
"type": "object"
169620169651
},
169621169652
"stripe_s700": {
169622-
"description": "An object containing device type specific settings for Stripe S700 readers",
169653+
"description": "An object containing device type specific settings for Stripe S700 readers.",
169623169654
"properties": {
169624169655
"splashscreen": {
169625169656
"anyOf": [
@@ -170115,10 +170146,10 @@
170115170146
"type": "string"
170116170147
}
170117170148
],
170118-
"description": "Tipping configurations for readers supporting on-reader tips"
170149+
"description": "Tipping configurations for readers. supporting on-reader tips"
170119170150
},
170120170151
"verifone_p400": {
170121-
"description": "An object containing device type specific settings for Verifone P400 readers",
170152+
"description": "An object containing device type specific settings for Verifone P400 readers.",
170122170153
"properties": {
170123170154
"splashscreen": {
170124170155
"anyOf": [
@@ -170483,7 +170514,7 @@
170483170514
"type": "string"
170484170515
}
170485170516
],
170486-
"description": "An object containing device type specific settings for BBPOS WisePad 3 readers"
170517+
"description": "An object containing device type specific settings for BBPOS WisePad 3 readers."
170487170518
},
170488170519
"bbpos_wisepos_e": {
170489170520
"anyOf": [
@@ -170513,7 +170544,7 @@
170513170544
"type": "string"
170514170545
}
170515170546
],
170516-
"description": "An object containing device type specific settings for BBPOS WisePOS E readers"
170547+
"description": "An object containing device type specific settings for BBPOS WisePOS E readers."
170517170548
},
170518170549
"expand": {
170519170550
"description": "Specifies which fields in the response should be expanded.",
@@ -170576,7 +170607,7 @@
170576170607
"type": "string"
170577170608
}
170578170609
],
170579-
"description": "Reboot time settings for readers that support customized reboot time configuration."
170610+
"description": "Reboot time settings for readers. that support customized reboot time configuration."
170580170611
},
170581170612
"stripe_s700": {
170582170613
"anyOf": [
@@ -170606,7 +170637,7 @@
170606170637
"type": "string"
170607170638
}
170608170639
],
170609-
"description": "An object containing device type specific settings for Stripe S700 readers"
170640+
"description": "An object containing device type specific settings for Stripe S700 readers."
170610170641
},
170611170642
"tipping": {
170612170643
"anyOf": [
@@ -171085,7 +171116,7 @@
171085171116
"type": "string"
171086171117
}
171087171118
],
171088-
"description": "Tipping configurations for readers supporting on-reader tips"
171119+
"description": "Tipping configurations for readers. supporting on-reader tips"
171089171120
},
171090171121
"verifone_p400": {
171091171122
"anyOf": [
@@ -171115,7 +171146,7 @@
171115171146
"type": "string"
171116171147
}
171117171148
],
171118-
"description": "An object containing device type specific settings for Verifone P400 readers"
171149+
"description": "An object containing device type specific settings for Verifone P400 readers."
171119171150
},
171120171151
"wifi": {
171121171152
"anyOf": [
@@ -187722,7 +187753,8 @@
187722187753
"2025-07-30.basil",
187723187754
"2025-08-27.basil",
187724187755
"2025-09-30.clover",
187725-
"2025-10-29.clover"
187756+
"2025-10-29.clover",
187757+
"2025-11-17.clover"
187726187758
],
187727187759
"maxLength": 5000,
187728187760
"type": "string",

src/Models/Account_invoices_settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public partial class Account_invoices_settings : IAdditionalDataHolder, IParsabl
2222
#else
2323
public List<string> DefaultAccountTaxIds { get; set; }
2424
#endif
25-
/// <summary>Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.</summary>
25+
/// <summary>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.</summary>
2626
public global::Soenneker.Stripe.OpenApiClient.Models.Account_invoices_settings_hosted_payment_method_save? HostedPaymentMethodSave { get; set; }
2727
/// <summary>
2828
/// Instantiates a new <see cref="global::Soenneker.Stripe.OpenApiClient.Models.Account_invoices_settings"/> and sets the default values.

src/Models/Account_invoices_settings_hosted_payment_method_save.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System;
44
namespace Soenneker.Stripe.OpenApiClient.Models
55
{
6-
/// <summary>Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.</summary>
6+
/// <summary>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.</summary>
77
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
88
public enum Account_invoices_settings_hosted_payment_method_save
99
{

src/Models/Invoice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public partial class Invoice : IAdditionalDataHolder, IParsable
7474
#else
7575
public global::Soenneker.Stripe.OpenApiClient.Models.Automatic_tax AutomaticTax { get; set; }
7676
#endif
77-
/// <summary>Indicates the reason why the invoice was created.* `manual`: Unrelated to a subscription, for example, created via the invoice editor.* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.* `subscription_create`: A new subscription was created.* `subscription_cycle`: A subscription advanced into a new period.* `subscription_threshold`: A subscription reached a billing threshold.* `subscription_update`: A subscription was updated.* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.</summary>
77+
/// <summary>Indicates the reason why the invoice was created.* `manual`: Unrelated to a subscription, for example, created via the invoice editor.* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.* `subscription_create`: A new subscription was created.* `subscription_cycle`: A subscription advanced into a new period.* `subscription_threshold`: A subscription reached a billing threshold.* `subscription_update`: A subscription was updated.* `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.</summary>
7878
public global::Soenneker.Stripe.OpenApiClient.Models.Invoice_billing_reason? BillingReason { get; set; }
7979
/// <summary>Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions.</summary>
8080
public global::Soenneker.Stripe.OpenApiClient.Models.Invoice_collection_method? CollectionMethod { get; set; }

src/Models/Invoice_billing_reason.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System;
44
namespace Soenneker.Stripe.OpenApiClient.Models
55
{
6-
/// <summary>Indicates the reason why the invoice was created.* `manual`: Unrelated to a subscription, for example, created via the invoice editor.* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.* `subscription_create`: A new subscription was created.* `subscription_cycle`: A subscription advanced into a new period.* `subscription_threshold`: A subscription reached a billing threshold.* `subscription_update`: A subscription was updated.* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.</summary>
6+
/// <summary>Indicates the reason why the invoice was created.* `manual`: Unrelated to a subscription, for example, created via the invoice editor.* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.* `subscription_create`: A new subscription was created.* `subscription_cycle`: A subscription advanced into a new period.* `subscription_threshold`: A subscription reached a billing threshold.* `subscription_update`: A subscription was updated.* `upcoming`: Reserved for upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.</summary>
77
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
88
public enum Invoice_billing_reason
99
{

src/Models/Payment_method_options_card_present.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ public partial class Payment_method_options_card_present : IAdditionalDataHolder
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17+
/// <summary>Controls when the funds will be captured from the customer&apos;s account.</summary>
18+
public global::Soenneker.Stripe.OpenApiClient.Models.Payment_method_options_card_present_capture_method? CaptureMethod { get; set; }
1719
/// <summary>Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)</summary>
1820
public bool? RequestExtendedAuthorization { get; set; }
1921
/// <summary>Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.</summary>
@@ -51,6 +53,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
5153
{
5254
return new Dictionary<string, Action<IParseNode>>
5355
{
56+
{ "capture_method", n => { CaptureMethod = n.GetEnumValue<global::Soenneker.Stripe.OpenApiClient.Models.Payment_method_options_card_present_capture_method>(); } },
5457
{ "request_extended_authorization", n => { RequestExtendedAuthorization = n.GetBoolValue(); } },
5558
{ "request_incremental_authorization_support", n => { RequestIncrementalAuthorizationSupport = n.GetBoolValue(); } },
5659
{ "routing", n => { Routing = n.GetObjectValue<global::Soenneker.Stripe.OpenApiClient.Models.Payment_method_options_card_present_routing>(global::Soenneker.Stripe.OpenApiClient.Models.Payment_method_options_card_present_routing.CreateFromDiscriminatorValue); } },
@@ -63,6 +66,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
6366
public virtual void Serialize(ISerializationWriter writer)
6467
{
6568
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
69+
writer.WriteEnumValue<global::Soenneker.Stripe.OpenApiClient.Models.Payment_method_options_card_present_capture_method>("capture_method", CaptureMethod);
6670
writer.WriteBoolValue("request_extended_authorization", RequestExtendedAuthorization);
6771
writer.WriteBoolValue("request_incremental_authorization_support", RequestIncrementalAuthorizationSupport);
6872
writer.WriteObjectValue<global::Soenneker.Stripe.OpenApiClient.Models.Payment_method_options_card_present_routing>("routing", Routing);

0 commit comments

Comments
 (0)