Skip to content

Commit f513f4d

Browse files
Merge pull request #2638 from stripe/latest-codegen-beta
API Updates for beta branch
2 parents 5f31364 + 8ebefee commit f513f4d

File tree

32 files changed

+136
-104
lines changed

32 files changed

+136
-104
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v219
1+
v221

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsKlarna.cs

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ public class ChargePaymentMethodDetailsKlarna : StripeEntity<ChargePaymentMethod
1818
/// <c>de-DE</c>, <c>en-DE</c>, <c>da-DK</c>, <c>en-DK</c>, <c>es-ES</c>, <c>en-ES</c>,
1919
/// <c>fi-FI</c>, <c>sv-FI</c>, <c>en-FI</c>, <c>en-GB</c>, <c>en-IE</c>, <c>it-IT</c>,
2020
/// <c>en-IT</c>, <c>nl-NL</c>, <c>en-NL</c>, <c>nb-NO</c>, <c>en-NO</c>, <c>sv-SE</c>,
21-
/// <c>en-SE</c>, <c>en-US</c>, <c>es-US</c>, <c>fr-FR</c>, <c>en-FR</c>, <c>en-AU</c>,
22-
/// <c>en-NZ</c>, <c>en-CA</c>, <c>fr-CA</c>, <c>pl-PL</c>, <c>en-PL</c>, <c>pt-PT</c>,
23-
/// <c>en-PT</c>, <c>de-CH</c>, <c>fr-CH</c>, <c>it-CH</c>, or <c>en-CH</c>.
21+
/// <c>en-SE</c>, <c>en-US</c>, <c>es-US</c>, <c>fr-FR</c>, <c>en-FR</c>, <c>cs-CZ</c>,
22+
/// <c>en-CZ</c>, <c>el-GR</c>, <c>en-GR</c>, <c>en-AU</c>, <c>en-NZ</c>, <c>en-CA</c>,
23+
/// <c>fr-CA</c>, <c>pl-PL</c>, <c>en-PL</c>, <c>pt-PT</c>, <c>en-PT</c>, <c>de-CH</c>,
24+
/// <c>fr-CH</c>, <c>it-CH</c>, or <c>en-CH</c>.
2425
/// </summary>
2526
[JsonProperty("preferred_locale")]
2627
public string PreferredLocale { get; set; }

src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfe
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11-
/// One of: <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11+
/// One of: <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1212
/// </summary>
1313
[JsonProperty("country")]
1414
public string Country { get; set; }

src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public class InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransf
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11-
/// One of: <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11+
/// One of: <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1212
/// </summary>
1313
[JsonProperty("country")]
1414
public string Country { get; set; }

src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividual.cs

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ public class CardholderIndividual : StripeEntity<CardholderIndividual>
1515
public CardholderIndividualDob Dob { get; set; }
1616

1717
/// <summary>
18-
/// The first name of this cardholder.
18+
/// The first name of this cardholder. This field cannot contain any numbers, special
19+
/// characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin
20+
/// letters.
1921
/// </summary>
2022
[JsonProperty("first_name")]
2123
public string FirstName { get; set; }
2224

2325
/// <summary>
24-
/// The last name of this cardholder.
26+
/// The last name of this cardholder. This field cannot contain any numbers, special
27+
/// characters (except periods, commas, hyphens, spaces and apostrophes) or non-latin
28+
/// letters.
2529
/// </summary>
2630
[JsonProperty("last_name")]
2731
public string LastName { get; set; }

src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public class OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11-
/// One of: <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11+
/// One of: <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1212
/// </summary>
1313
[JsonProperty("country")]
1414
public string Country { get; set; }

src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankT
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11-
/// One of: <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11+
/// One of: <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1212
/// </summary>
1313
[JsonProperty("country")]
1414
public string Country { get; set; }

src/Stripe.net/Entities/QuoteLines/QuoteLine.cs

+8
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ public class QuoteLine : StripeEntity<QuoteLine>, IHasId, IHasObject
5858
[JsonProperty("proration_behavior")]
5959
public string ProrationBehavior { get; set; }
6060

61+
/// <summary>
62+
/// Timestsamp helper to end the underlying schedule early, based on the acompanying line's
63+
/// start or end date.
64+
/// One of: <c>line_ends_at</c>, or <c>line_starts_at</c>.
65+
/// </summary>
66+
[JsonProperty("set_schedule_end")]
67+
public string SetScheduleEnd { get; set; }
68+
6169
/// <summary>
6270
/// Details to identify the earliest timestamp where the proposed change should take effect.
6371
/// </summary>

src/Stripe.net/Entities/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankT
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11-
/// One of: <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
11+
/// One of: <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1212
/// </summary>
1313
[JsonProperty("country")]
1414
public string Country { get; set; }

src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class SessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfe
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1111
/// </summary>
1212
[JsonProperty("country")]
1313
public string Country { get; set; }

src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsPaypalOptions.cs

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ namespace Stripe.Checkout
55

66
public class SessionPaymentMethodOptionsPaypalOptions : INestedOptions
77
{
8+
[JsonProperty("billing_agreement_id")]
9+
public string BillingAgreementId { get; set; }
10+
811
[JsonProperty("currency")]
912
public string Currency { get; set; }
1013
}

src/Stripe.net/Services/Customers/CustomerBankTransferEuBankTransferOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class CustomerBankTransferEuBankTransferOptions : INestedOptions
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1111
/// </summary>
1212
[JsonProperty("country")]
1313
public string Country { get; set; }

src/Stripe.net/Services/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransf
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1111
/// </summary>
1212
[JsonProperty("country")]
1313
public string Country { get; set; }

src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1111
/// </summary>
1212
[JsonProperty("country")]
1313
public string Country { get; set; }

src/Stripe.net/Services/Orders/OrderPaymentSettingsPaymentMethodOptionsKlarnaOptions.cs

+8-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ public class OrderPaymentSettingsPaymentMethodOptionsKlarnaOptions : INestedOpti
1919

2020
/// <summary>
2121
/// Preferred language of the Klarna authorization page that the customer is redirected to.
22-
/// One of: <c>da-DK</c>, <c>de-AT</c>, <c>de-CH</c>, <c>de-DE</c>, <c>en-AT</c>,
23-
/// <c>en-AU</c>, <c>en-BE</c>, <c>en-CA</c>, <c>en-CH</c>, <c>en-DE</c>, <c>en-DK</c>,
24-
/// <c>en-ES</c>, <c>en-FI</c>, <c>en-FR</c>, <c>en-GB</c>, <c>en-IE</c>, <c>en-IT</c>,
25-
/// <c>en-NL</c>, <c>en-NO</c>, <c>en-NZ</c>, <c>en-PL</c>, <c>en-PT</c>, <c>en-SE</c>,
26-
/// <c>en-US</c>, <c>es-ES</c>, <c>es-US</c>, <c>fi-FI</c>, <c>fr-BE</c>, <c>fr-CA</c>,
27-
/// <c>fr-CH</c>, <c>fr-FR</c>, <c>it-CH</c>, <c>it-IT</c>, <c>nb-NO</c>, <c>nl-BE</c>,
28-
/// <c>nl-NL</c>, <c>pl-PL</c>, <c>pt-PT</c>, <c>sv-FI</c>, or <c>sv-SE</c>.
22+
/// One of: <c>cs-CZ</c>, <c>da-DK</c>, <c>de-AT</c>, <c>de-CH</c>, <c>de-DE</c>,
23+
/// <c>el-GR</c>, <c>en-AT</c>, <c>en-AU</c>, <c>en-BE</c>, <c>en-CA</c>, <c>en-CH</c>,
24+
/// <c>en-CZ</c>, <c>en-DE</c>, <c>en-DK</c>, <c>en-ES</c>, <c>en-FI</c>, <c>en-FR</c>,
25+
/// <c>en-GB</c>, <c>en-GR</c>, <c>en-IE</c>, <c>en-IT</c>, <c>en-NL</c>, <c>en-NO</c>,
26+
/// <c>en-NZ</c>, <c>en-PL</c>, <c>en-PT</c>, <c>en-SE</c>, <c>en-US</c>, <c>es-ES</c>,
27+
/// <c>es-US</c>, <c>fi-FI</c>, <c>fr-BE</c>, <c>fr-CA</c>, <c>fr-CH</c>, <c>fr-FR</c>,
28+
/// <c>it-CH</c>, <c>it-IT</c>, <c>nb-NO</c>, <c>nl-BE</c>, <c>nl-NL</c>, <c>pl-PL</c>,
29+
/// <c>pt-PT</c>, <c>sv-FI</c>, or <c>sv-SE</c>.
2930
/// </summary>
3031
[JsonProperty("preferred_locale")]
3132
public string PreferredLocale { get; set; }

src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankT
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1111
/// </summary>
1212
[JsonProperty("country")]
1313
public string Country { get; set; }

src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsKlarnaOptions.cs

+8-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ public class PaymentIntentPaymentMethodOptionsKlarnaOptions : INestedOptions
1919

2020
/// <summary>
2121
/// Preferred language of the Klarna authorization page that the customer is redirected to.
22-
/// One of: <c>da-DK</c>, <c>de-AT</c>, <c>de-CH</c>, <c>de-DE</c>, <c>en-AT</c>,
23-
/// <c>en-AU</c>, <c>en-BE</c>, <c>en-CA</c>, <c>en-CH</c>, <c>en-DE</c>, <c>en-DK</c>,
24-
/// <c>en-ES</c>, <c>en-FI</c>, <c>en-FR</c>, <c>en-GB</c>, <c>en-IE</c>, <c>en-IT</c>,
25-
/// <c>en-NL</c>, <c>en-NO</c>, <c>en-NZ</c>, <c>en-PL</c>, <c>en-PT</c>, <c>en-SE</c>,
26-
/// <c>en-US</c>, <c>es-ES</c>, <c>es-US</c>, <c>fi-FI</c>, <c>fr-BE</c>, <c>fr-CA</c>,
27-
/// <c>fr-CH</c>, <c>fr-FR</c>, <c>it-CH</c>, <c>it-IT</c>, <c>nb-NO</c>, <c>nl-BE</c>,
28-
/// <c>nl-NL</c>, <c>pl-PL</c>, <c>pt-PT</c>, <c>sv-FI</c>, or <c>sv-SE</c>.
22+
/// One of: <c>cs-CZ</c>, <c>da-DK</c>, <c>de-AT</c>, <c>de-CH</c>, <c>de-DE</c>,
23+
/// <c>el-GR</c>, <c>en-AT</c>, <c>en-AU</c>, <c>en-BE</c>, <c>en-CA</c>, <c>en-CH</c>,
24+
/// <c>en-CZ</c>, <c>en-DE</c>, <c>en-DK</c>, <c>en-ES</c>, <c>en-FI</c>, <c>en-FR</c>,
25+
/// <c>en-GB</c>, <c>en-GR</c>, <c>en-IE</c>, <c>en-IT</c>, <c>en-NL</c>, <c>en-NO</c>,
26+
/// <c>en-NZ</c>, <c>en-PL</c>, <c>en-PT</c>, <c>en-SE</c>, <c>en-US</c>, <c>es-ES</c>,
27+
/// <c>es-US</c>, <c>fi-FI</c>, <c>fr-BE</c>, <c>fr-CA</c>, <c>fr-CH</c>, <c>fr-FR</c>,
28+
/// <c>it-CH</c>, <c>it-IT</c>, <c>nb-NO</c>, <c>nl-BE</c>, <c>nl-NL</c>, <c>pl-PL</c>,
29+
/// <c>pt-PT</c>, <c>sv-FI</c>, or <c>sv-SE</c>.
2930
/// </summary>
3031
[JsonProperty("preferred_locale")]
3132
public string PreferredLocale { get; set; }

src/Stripe.net/Services/Quotes/QuoteLineOptions.cs

+8
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ public class QuoteLineOptions : INestedOptions, IHasId
4949
[JsonProperty("proration_behavior")]
5050
public string ProrationBehavior { get; set; }
5151

52+
/// <summary>
53+
/// Timestsamp helper to end the underlying schedule early, based on the acompanying line's
54+
/// start or end date.
55+
/// One of: <c>line_ends_at</c>, or <c>line_starts_at</c>.
56+
/// </summary>
57+
[JsonProperty("set_schedule_end")]
58+
public string SetScheduleEnd { get; set; }
59+
5260
/// <summary>
5361
/// Details to identify the earliest timestamp where the proposed change should take effect.
5462
/// </summary>

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillOnAcceptanceBillFromOptions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public class QuoteSubscriptionDataBillOnAcceptanceBillFromOptions : INestedOptio
1212
public QuoteSubscriptionDataBillOnAcceptanceBillFromLineStartsAtOptions LineStartsAt { get; set; }
1313

1414
/// <summary>
15-
/// Details for a Unix timestamp to start the bill period from.
15+
/// A precise Unix timestamp.
1616
/// </summary>
1717
[JsonProperty("timestamp")]
18-
public QuoteSubscriptionDataBillOnAcceptanceBillFromTimestampOptions Timestamp { get; set; }
18+
public long? Timestamp { get; set; }
1919

2020
/// <summary>
2121
/// The type of method to specify the <c>bill_from</c> time.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillOnAcceptanceBillFromTimestampOptions.cs

-14
This file was deleted.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillOnAcceptanceBillUntilOptions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ public class QuoteSubscriptionDataBillOnAcceptanceBillUntilOptions : INestedOpti
1818
public QuoteSubscriptionDataBillOnAcceptanceBillUntilLineEndsAtOptions LineEndsAt { get; set; }
1919

2020
/// <summary>
21-
/// Details of a Unix timestamp to bill until.
21+
/// A precise Unix timestamp.
2222
/// </summary>
2323
[JsonProperty("timestamp")]
24-
public QuoteSubscriptionDataBillOnAcceptanceBillUntilTimestampOptions Timestamp { get; set; }
24+
public long? Timestamp { get; set; }
2525

2626
/// <summary>
2727
/// The type of method to specify the <c>bill_until</c> time.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataBillOnAcceptanceBillUntilTimestampOptions.cs

-14
This file was deleted.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideBillOnAcceptanceBillFromOptions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public class QuoteSubscriptionDataOverrideBillOnAcceptanceBillFromOptions : INes
1212
public QuoteSubscriptionDataOverrideBillOnAcceptanceBillFromLineStartsAtOptions LineStartsAt { get; set; }
1313

1414
/// <summary>
15-
/// Details for a Unix timestamp to start the bill period from.
15+
/// A precise Unix timestamp.
1616
/// </summary>
1717
[JsonProperty("timestamp")]
18-
public QuoteSubscriptionDataOverrideBillOnAcceptanceBillFromTimestampOptions Timestamp { get; set; }
18+
public long? Timestamp { get; set; }
1919

2020
/// <summary>
2121
/// The type of method to specify the <c>bill_from</c> time.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideBillOnAcceptanceBillFromTimestampOptions.cs

-14
This file was deleted.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideBillOnAcceptanceBillUntilOptions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ public class QuoteSubscriptionDataOverrideBillOnAcceptanceBillUntilOptions : INe
1818
public QuoteSubscriptionDataOverrideBillOnAcceptanceBillUntilLineEndsAtOptions LineEndsAt { get; set; }
1919

2020
/// <summary>
21-
/// Details of a Unix timestamp to bill until.
21+
/// A precise Unix timestamp.
2222
/// </summary>
2323
[JsonProperty("timestamp")]
24-
public QuoteSubscriptionDataOverrideBillOnAcceptanceBillUntilTimestampOptions Timestamp { get; set; }
24+
public long? Timestamp { get; set; }
2525

2626
/// <summary>
2727
/// The type of method to specify the <c>bill_until</c> time.

src/Stripe.net/Services/Quotes/QuoteSubscriptionDataOverrideBillOnAcceptanceBillUntilTimestampOptions.cs

-14
This file was deleted.

src/Stripe.net/Services/SubscriptionSchedules/SubscriptionScheduleAmendmentOptions.cs

+8
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ public class SubscriptionScheduleAmendmentOptions : INestedOptions
5959
[JsonProperty("proration_behavior")]
6060
public string ProrationBehavior { get; set; }
6161

62+
/// <summary>
63+
/// Ends the subscription schedule early as dictated by either the accompanying amendment's
64+
/// start or end.
65+
/// One of: <c>amendment_end</c>, or <c>amendment_start</c>.
66+
/// </summary>
67+
[JsonProperty("set_schedule_end")]
68+
public string SetScheduleEnd { get; set; }
69+
6270
/// <summary>
6371
/// Settings related to subscription trials.
6472
/// </summary>

src/Stripe.net/Services/Subscriptions/SubscriptionCreateOptions.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,9 @@ public class SubscriptionCreateOptions : BaseOptions, IHasMetadata
275275

276276
/// <summary>
277277
/// Unix timestamp representing the end of the trial period the customer will get before
278-
/// being charged for the first time. This will always overwrite any trials that might apply
279-
/// via a subscribed plan. If set, trial_end will override the default trial period of the
280-
/// plan the customer is being subscribed to. The special value <c>now</c> can be provided
281-
/// to end the customer's trial immediately. Can be at most two years from
278+
/// being charged for the first time. If set, trial_end will override the default trial
279+
/// period of the plan the customer is being subscribed to. The special value <c>now</c> can
280+
/// be provided to end the customer's trial immediately. Can be at most two years from
282281
/// <c>billing_cycle_anchor</c>. See <a
283282
/// href="https://stripe.com/docs/billing/subscriptions/trials">Using trial periods on
284283
/// subscriptions</a> to learn more.

src/Stripe.net/Services/Subscriptions/SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankT
77
{
88
/// <summary>
99
/// The desired country code of the bank account information. Permitted values include:
10-
/// <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
10+
/// <c>BE</c>, <c>DE</c>, <c>ES</c>, <c>FR</c>, <c>IE</c>, or <c>NL</c>.
1111
/// </summary>
1212
[JsonProperty("country")]
1313
public string Country { get; set; }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe.Tax
3+
{
4+
public class TransactionListLineItemsOptions : ListOptions
5+
{
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe.Tax
3+
{
4+
public class TransactionListTransactionsOptions : ListOptions
5+
{
6+
}
7+
}

0 commit comments

Comments
 (0)