Skip to content

Commit 44b58a3

Browse files
Merge upstream and update generated code for 97ac4c20201f71a2f3066399552c0ae2928742fc and 2025-09-30.clover
2 parents 779c812 + e84e43c commit 44b58a3

File tree

246 files changed

+1098
-7401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+1098
-7401
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-08-27.basil
1+
2025-09-30.clover

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f4b80890ea17e89a543a77a389f29ca9be6fe615
1+
97ac4c20201f71a2f3066399552c0ae2928742fc

src/Stripe.net/Entities/V2/Billing/Cadences/Cadence.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public class Cadence : StripeEntity<Cadence>, IHasId, IHasMetadata, IHasObject
8484
#if NET6_0_OR_GREATER
8585
[STJS.JsonPropertyName("next_billing_date")]
8686
#endif
87-
public DateTime? NextBillingDate { get; set; }
87+
public DateTime NextBillingDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
8888

8989
/// <summary>
9090
/// The payer determines the entity financially responsible for the bill.

src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleDayTime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public class CadenceBillingCycleDayTime : StripeEntity<CadenceBillingCycleDayTim
3636
#if NET6_0_OR_GREATER
3737
[STJS.JsonPropertyName("second")]
3838
#endif
39-
public long? Second { get; set; }
39+
public long Second { get; set; }
4040
}
4141
}

src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleMonth.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ public class CadenceBillingCycleMonth : StripeEntity<CadenceBillingCycleMonth>
1919
#endif
2020
public long DayOfMonth { get; set; }
2121

22-
/// <summary>
23-
/// The month to anchor the billing on for a type="month" billing cycle from 1-12.
24-
/// Occurrences are calculated from the month anchor.
25-
/// </summary>
26-
[JsonProperty("month_of_year")]
27-
#if NET6_0_OR_GREATER
28-
[STJS.JsonPropertyName("month_of_year")]
29-
#endif
30-
public long? MonthOfYear { get; set; }
31-
3222
/// <summary>
3323
/// The time at which the billing cycle ends.
3424
/// </summary>

src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleMonthTime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public class CadenceBillingCycleMonthTime : StripeEntity<CadenceBillingCycleMont
3636
#if NET6_0_OR_GREATER
3737
[STJS.JsonPropertyName("second")]
3838
#endif
39-
public long? Second { get; set; }
39+
public long Second { get; set; }
4040
}
4141
}

src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleWeekTime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public class CadenceBillingCycleWeekTime : StripeEntity<CadenceBillingCycleWeekT
3636
#if NET6_0_OR_GREATER
3737
[STJS.JsonPropertyName("second")]
3838
#endif
39-
public long? Second { get; set; }
39+
public long Second { get; set; }
4040
}
4141
}

src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleYearTime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public class CadenceBillingCycleYearTime : StripeEntity<CadenceBillingCycleYearT
3636
#if NET6_0_OR_GREATER
3737
[STJS.JsonPropertyName("second")]
3838
#endif
39-
public long? Second { get; set; }
39+
public long Second { get; set; }
4040
}
4141
}

src/Stripe.net/Entities/V2/Billing/Cadences/CadenceInvoiceDiscountRulePercentOff.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public class CadenceInvoiceDiscountRulePercentOff : StripeEntity<CadenceInvoiceD
2525
#if NET6_0_OR_GREATER
2626
[STJS.JsonPropertyName("percent_off")]
2727
#endif
28-
public string PercentOff { get; set; }
28+
public decimal PercentOff { get; set; }
2929
}
3030
}

src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// File generated from our OpenAPI spec
22
namespace Stripe.V2.Billing
33
{
4+
using System.Collections.Generic;
45
using Newtonsoft.Json;
56
#if NET6_0_OR_GREATER
67
using STJS = System.Text.Json.Serialization;
@@ -52,7 +53,7 @@ public class CollectionSettingVersionPaymentMethodOptions : StripeEntity<Collect
5253
#if NET6_0_OR_GREATER
5354
[STJS.JsonPropertyName("konbini")]
5455
#endif
55-
public CollectionSettingVersionPaymentMethodOptionsKonbini Konbini { get; set; }
56+
public Dictionary<string, object> Konbini { get; set; }
5657

5758
/// <summary>
5859
/// This sub-hash contains details about the SEPA Direct Debit payment method options.
@@ -61,7 +62,7 @@ public class CollectionSettingVersionPaymentMethodOptions : StripeEntity<Collect
6162
#if NET6_0_OR_GREATER
6263
[STJS.JsonPropertyName("sepa_debit")]
6364
#endif
64-
public CollectionSettingVersionPaymentMethodOptionsSepaDebit SepaDebit { get; set; }
65+
public Dictionary<string, object> SepaDebit { get; set; }
6566

6667
/// <summary>
6768
/// This sub-hash contains details about the ACH direct debit payment method options.

0 commit comments

Comments
 (0)