diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d7e1f5fa4b..9f46827f56 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2024 \ No newline at end of file +v2025 \ No newline at end of file diff --git a/src/Stripe.net/Entities/V2/Billing/Cadences/Cadence.cs b/src/Stripe.net/Entities/V2/Billing/Cadences/Cadence.cs index b8fde70d1e..0cc871b0f3 100644 --- a/src/Stripe.net/Entities/V2/Billing/Cadences/Cadence.cs +++ b/src/Stripe.net/Entities/V2/Billing/Cadences/Cadence.cs @@ -85,7 +85,7 @@ public class Cadence : StripeEntity, IHasId, IHasMetadata, IHasObject #if NET6_0_OR_GREATER [STJS.JsonPropertyName("next_billing_date")] #endif - public DateTime NextBillingDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + public DateTime? NextBillingDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; /// /// The payer determines the entity financially responsible for the bill. diff --git a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleDayTime.cs b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleDayTime.cs index bc6b77ba96..056ba1ad9c 100644 --- a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleDayTime.cs +++ b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleDayTime.cs @@ -36,6 +36,6 @@ public class CadenceBillingCycleDayTime : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("month_of_year")] #endif - public long MonthOfYear { get; set; } + public long? MonthOfYear { get; set; } /// /// The time at which the billing cycle ends. diff --git a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleMonthTime.cs b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleMonthTime.cs index 695ff998d0..33f8a0ad2b 100644 --- a/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleMonthTime.cs +++ b/src/Stripe.net/Entities/V2/Billing/Cadences/CadenceBillingCycleMonthTime.cs @@ -36,6 +36,6 @@ public class CadenceBillingCycleMonthTime : StripeEntity /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs index 63c7c8fcb6..24a0082bdf 100644 --- a/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/CollectionSettingVersions/CollectionSettingVersionPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingVersionPaymentMethodOptionsCardMandateOptions : St #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs b/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs index 33a25f5792..05a993e08d 100644 --- a/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs +++ b/src/Stripe.net/Entities/V2/Billing/CollectionSettings/CollectionSettingPaymentMethodOptionsCardMandateOptions.cs @@ -15,7 +15,7 @@ public class CollectionSettingPaymentMethodOptionsCardMandateOptions : StripeEnt #if NET6_0_OR_GREATER [STJS.JsonPropertyName("amount")] #endif - public long Amount { get; set; } + public long? Amount { get; set; } /// /// The AmountType for the mandate. One of fixed or maximum. diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalTermsOfServiceAccount.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalTermsOfServiceAccount.cs index 029bb1c88a..648351d244 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalTermsOfServiceAccount.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonAdditionalTermsOfServiceAccount.cs @@ -18,7 +18,7 @@ public class AccountPersonAdditionalTermsOfServiceAccount : StripeEntity /// The IP address from which the Account's representative accepted the terms of service. diff --git a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs index 387723b012..94d2f12aee 100644 --- a/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs +++ b/src/Stripe.net/Entities/V2/Core/AccountPersons/AccountPersonRelationship.cs @@ -15,7 +15,7 @@ public class AccountPersonRelationship : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("authorizer")] #endif - public bool Authorizer { get; set; } + public bool? Authorizer { get; set; } /// /// Whether the individual is a director of the Account’s legal entity. Directors are @@ -26,7 +26,7 @@ public class AccountPersonRelationship : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("director")] #endif - public bool Director { get; set; } + public bool? Director { get; set; } /// /// Whether the individual has significant responsibility to control, manage, or direct the @@ -36,7 +36,7 @@ public class AccountPersonRelationship : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("executive")] #endif - public bool Executive { get; set; } + public bool? Executive { get; set; } /// /// Whether the individual is the legal guardian of the Account’s representative. @@ -45,7 +45,7 @@ public class AccountPersonRelationship : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("legal_guardian")] #endif - public bool LegalGuardian { get; set; } + public bool? LegalGuardian { get; set; } /// /// Whether the individual is an owner of the Account’s legal entity. @@ -54,7 +54,7 @@ public class AccountPersonRelationship : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("owner")] #endif - public bool Owner { get; set; } + public bool? Owner { get; set; } /// /// The percent owned by the individual of the Account’s legal entity. @@ -76,7 +76,7 @@ public class AccountPersonRelationship : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("representative")] #endif - public bool Representative { get; set; } + public bool? Representative { get; set; } /// /// The individual's title (e.g., CEO, Support Engineer). diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs index 7cc8f4bd85..0863e19f5b 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationCustomerBillingInvoice.cs @@ -35,7 +35,7 @@ public class AccountConfigurationCustomerBillingInvoice : StripeEntity /// The prefix for the customer used to generate unique invoice numbers. Must be 3–12 diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCardPaymentsDeclineOn.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCardPaymentsDeclineOn.cs index 16eedf2a96..c6a655e8eb 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCardPaymentsDeclineOn.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountConfigurationMerchantCardPaymentsDeclineOn.cs @@ -17,7 +17,7 @@ public class AccountConfigurationMerchantCardPaymentsDeclineOn : StripeEntity /// Whether Stripe automatically declines charges with an incorrect CVC. This setting only @@ -27,6 +27,6 @@ public class AccountConfigurationMerchantCardPaymentsDeclineOn : StripeEntity /// The IP address from which the director attestation was made. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsOwnershipDeclaration.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsOwnershipDeclaration.cs index eac0c7b061..3b9a049e16 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsOwnershipDeclaration.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsOwnershipDeclaration.cs @@ -18,7 +18,7 @@ public class AccountIdentityAttestationsOwnershipDeclaration : StripeEntity /// The IP address from which the beneficial owner attestation was made. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsPersonsProvided.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsPersonsProvided.cs index b3d7068c57..2bb260c843 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsPersonsProvided.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsPersonsProvided.cs @@ -17,7 +17,7 @@ public class AccountIdentityAttestationsPersonsProvided : StripeEntity /// Whether the company’s executives have been provided. Set this Boolean to true after @@ -28,7 +28,7 @@ public class AccountIdentityAttestationsPersonsProvided : StripeEntity /// Whether the company’s owners have been provided. Set this Boolean to true after creating @@ -39,7 +39,7 @@ public class AccountIdentityAttestationsPersonsProvided : StripeEntity /// Reason for why the company is exempt from providing ownership information. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceAccount.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceAccount.cs index 7a38f158b9..2aac08f703 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceAccount.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceAccount.cs @@ -18,7 +18,7 @@ public class AccountIdentityAttestationsTermsOfServiceAccount : StripeEntity /// The IP address from which the Account's representative accepted the terms of service. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceStorer.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceStorer.cs index 9da4960180..1ab7d65a64 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceStorer.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityAttestationsTermsOfServiceStorer.cs @@ -18,7 +18,7 @@ public class AccountIdentityAttestationsTermsOfServiceStorer : StripeEntity /// The IP address from which the Account's representative accepted the terms of service. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs index 0e34530f6f..27b0cf6306 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityBusinessDetails.cs @@ -44,7 +44,7 @@ public class AccountIdentityBusinessDetails : StripeEntity /// The provided ID numbers of a business entity. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalTermsOfServiceAccount.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalTermsOfServiceAccount.cs index 3abc65b4eb..0b0e5650d8 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalTermsOfServiceAccount.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualAdditionalTermsOfServiceAccount.cs @@ -18,7 +18,7 @@ public class AccountIdentityIndividualAdditionalTermsOfServiceAccount : StripeEn #if NET6_0_OR_GREATER [STJS.JsonPropertyName("date")] #endif - public DateTime Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + public DateTime? Date { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; /// /// The IP address from which the Account's representative accepted the terms of service. diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs index 754919d6e6..7e08ecf5cd 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountIdentityIndividualRelationship.cs @@ -15,7 +15,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity /// Whether the individual is a director of the Account’s legal entity. Directors are @@ -26,7 +26,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity /// Whether the individual has significant responsibility to control, manage, or direct the @@ -36,7 +36,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity /// Whether the individual is the legal guardian of the Account’s representative. @@ -45,7 +45,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity /// Whether the individual is an owner of the Account’s legal entity. @@ -54,7 +54,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity /// The percent owned by the individual of the Account’s legal entity. @@ -76,7 +76,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity /// The individual's title (e.g., CEO, Support Engineer). diff --git a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsSummaryMinimumDeadline.cs b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsSummaryMinimumDeadline.cs index 8e5985b959..b9571032be 100644 --- a/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsSummaryMinimumDeadline.cs +++ b/src/Stripe.net/Entities/V2/Core/Accounts/AccountRequirementsSummaryMinimumDeadline.cs @@ -26,6 +26,6 @@ public class AccountRequirementsSummaryMinimumDeadline : StripeEntity /// Lock status of the quote. Transitions from active to expired once past the diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs index 6fd1d7e924..e05bbc2f81 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPayment.cs @@ -90,7 +90,7 @@ public class OutboundPayment : StripeEntity, IHasId, IHasMetada #if NET6_0_OR_GREATER [STJS.JsonPropertyName("expected_arrival_date")] #endif - public DateTime ExpectedArrivalDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + public DateTime? ExpectedArrivalDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; /// /// The FinancialAccount that funds were pulled from. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentStatusTransitions.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentStatusTransitions.cs index 5f35f64f8c..898dba4cfc 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentStatusTransitions.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundPayments/OutboundPaymentStatusTransitions.cs @@ -18,7 +18,7 @@ public class OutboundPaymentStatusTransitions : StripeEntity /// Timestamp describing when an OutboundPayment changed status to failed. @@ -29,7 +29,7 @@ public class OutboundPaymentStatusTransitions : StripeEntity /// Timestamp describing when an OutboundPayment changed status to posted. @@ -40,7 +40,7 @@ public class OutboundPaymentStatusTransitions : StripeEntity /// Timestamp describing when an OutboundPayment changed status to returned. @@ -51,6 +51,6 @@ public class OutboundPaymentStatusTransitions : StripeEntity, IHasId, IHasMeta #if NET6_0_OR_GREATER [STJS.JsonPropertyName("expected_arrival_date")] #endif - public DateTime ExpectedArrivalDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; + public DateTime? ExpectedArrivalDate { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch; /// /// The FinancialAccount that funds were pulled from. diff --git a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferStatusTransitions.cs b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferStatusTransitions.cs index 6b580921a9..48755b5f11 100644 --- a/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferStatusTransitions.cs +++ b/src/Stripe.net/Entities/V2/MoneyManagement/OutboundTransfers/OutboundTransferStatusTransitions.cs @@ -18,7 +18,7 @@ public class OutboundTransferStatusTransitions : StripeEntity /// Timestamp describing when an OutboundTransfer changed status to failed. @@ -29,7 +29,7 @@ public class OutboundTransferStatusTransitions : StripeEntity /// Timestamp describing when an OutboundTransfer changed status to posted. @@ -40,7 +40,7 @@ public class OutboundTransferStatusTransitions : StripeEntity /// Timestamp describing when an OutboundTransfer changed status to returned. @@ -51,6 +51,6 @@ public class OutboundTransferStatusTransitions : StripeEntity /// Timestamp describing when the ReceivedCredit changed status to returned. @@ -29,7 +29,7 @@ public class ReceivedCreditStatusTransitions : StripeEntity /// Timestamp describing when the ReceivedCredit was marked as succeeded. Represented @@ -40,6 +40,6 @@ public class ReceivedCreditStatusTransitions : StripeEntity /// The time when the ReceivedDebit was marked as failed. Represented as a RFC 3339 @@ -29,7 +29,7 @@ public class ReceivedDebitStatusTransitions : StripeEntity /// The time when the ReceivedDebit was marked as succeeded. Represented as a RFC @@ -40,6 +40,6 @@ public class ReceivedDebitStatusTransitions : StripeEntity /// The time at which the Transaction became void. Only present if status == void. @@ -25,6 +25,6 @@ public class TransactionStatusTransitions : StripeEntity /// A list of line items, each containing information about a product in the PaymentIntent. diff --git a/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItem.cs b/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItem.cs index 1c78500fe9..dadfa70444 100644 --- a/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItem.cs +++ b/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItem.cs @@ -15,7 +15,7 @@ public class OffSessionPaymentAmountDetailsLineItem : StripeEntity /// Unique identifier of the product. At most 12 characters long. diff --git a/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItemTax.cs b/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItemTax.cs index b5d2e86c6d..24ce7aaea9 100644 --- a/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItemTax.cs +++ b/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsLineItemTax.cs @@ -15,6 +15,6 @@ public class OffSessionPaymentAmountDetailsLineItemTax : StripeEntity /// The postal code that represents the shipping source. diff --git a/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsTax.cs b/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsTax.cs index 56234aba5e..f72382c8dc 100644 --- a/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsTax.cs +++ b/src/Stripe.net/Entities/V2/Payments/OffSessionPayments/OffSessionPaymentAmountDetailsTax.cs @@ -15,6 +15,6 @@ public class OffSessionPaymentAmountDetailsTax : StripeEntity /// The account (if any) that the payment is attributed to for tax reporting, and where