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 OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2024
v2025
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/V2/Billing/Cadences/Cadence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class Cadence : StripeEntity<Cadence>, 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;

/// <summary>
/// The payer determines the entity financially responsible for the bill.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public class CadenceBillingCycleDayTime : StripeEntity<CadenceBillingCycleDayTim
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("second")]
#endif
public long Second { get; set; }
public long? Second { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class CadenceBillingCycleMonth : StripeEntity<CadenceBillingCycleMonth>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("month_of_year")]
#endif
public long MonthOfYear { get; set; }
public long? MonthOfYear { get; set; }

/// <summary>
/// The time at which the billing cycle ends.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public class CadenceBillingCycleMonthTime : StripeEntity<CadenceBillingCycleMont
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("second")]
#endif
public long Second { get; set; }
public long? Second { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public class CadenceBillingCycleWeekTime : StripeEntity<CadenceBillingCycleWeekT
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("second")]
#endif
public long Second { get; set; }
public long? Second { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public class CadenceBillingCycleYearTime : StripeEntity<CadenceBillingCycleYearT
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("second")]
#endif
public long Second { get; set; }
public long? Second { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class CadenceSettingsDataCollectionPaymentMethodOptionsCardMandateOptions
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("amount")]
#endif
public long Amount { get; set; }
public long? Amount { get; set; }

/// <summary>
/// The AmountType for the mandate. One of <c>fixed</c> or <c>maximum</c>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

/// <summary>
/// The AmountType for the mandate. One of <c>fixed</c> or <c>maximum</c>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

/// <summary>
/// The AmountType for the mandate. One of <c>fixed</c> or <c>maximum</c>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class AccountPersonAdditionalTermsOfServiceAccount : StripeEntity<Account
#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;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class AccountPersonRelationship : StripeEntity<AccountPersonRelationship>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("authorizer")]
#endif
public bool Authorizer { get; set; }
public bool? Authorizer { get; set; }

/// <summary>
/// Whether the individual is a director of the Account’s legal entity. Directors are
Expand All @@ -26,7 +26,7 @@ public class AccountPersonRelationship : StripeEntity<AccountPersonRelationship>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("director")]
#endif
public bool Director { get; set; }
public bool? Director { get; set; }

/// <summary>
/// Whether the individual has significant responsibility to control, manage, or direct the
Expand All @@ -36,7 +36,7 @@ public class AccountPersonRelationship : StripeEntity<AccountPersonRelationship>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("executive")]
#endif
public bool Executive { get; set; }
public bool? Executive { get; set; }

/// <summary>
/// Whether the individual is the legal guardian of the Account’s representative.
Expand All @@ -45,7 +45,7 @@ public class AccountPersonRelationship : StripeEntity<AccountPersonRelationship>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("legal_guardian")]
#endif
public bool LegalGuardian { get; set; }
public bool? LegalGuardian { get; set; }

/// <summary>
/// Whether the individual is an owner of the Account’s legal entity.
Expand All @@ -54,7 +54,7 @@ public class AccountPersonRelationship : StripeEntity<AccountPersonRelationship>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("owner")]
#endif
public bool Owner { get; set; }
public bool? Owner { get; set; }

/// <summary>
/// The percent owned by the individual of the Account’s legal entity.
Expand All @@ -76,7 +76,7 @@ public class AccountPersonRelationship : StripeEntity<AccountPersonRelationship>
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("representative")]
#endif
public bool Representative { get; set; }
public bool? Representative { get; set; }

/// <summary>
/// The individual's title (e.g., CEO, Support Engineer).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class AccountConfigurationCustomerBillingInvoice : StripeEntity<AccountCo
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("next_sequence")]
#endif
public long NextSequence { get; set; }
public long? NextSequence { get; set; }

/// <summary>
/// The prefix for the customer used to generate unique invoice numbers. Must be 3–12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class AccountConfigurationMerchantCardPaymentsDeclineOn : StripeEntity<Ac
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("avs_failure")]
#endif
public bool AvsFailure { get; set; }
public bool? AvsFailure { get; set; }

/// <summary>
/// Whether Stripe automatically declines charges with an incorrect CVC. This setting only
Expand All @@ -27,6 +27,6 @@ public class AccountConfigurationMerchantCardPaymentsDeclineOn : StripeEntity<Ac
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("cvc_failure")]
#endif
public bool CvcFailure { get; set; }
public bool? CvcFailure { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class AccountIdentityAttestationsDirectorshipDeclaration : StripeEntity<A
#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;

/// <summary>
/// The IP address from which the director attestation was made.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class AccountIdentityAttestationsOwnershipDeclaration : StripeEntity<Acco
#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;

/// <summary>
/// The IP address from which the beneficial owner attestation was made.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class AccountIdentityAttestationsPersonsProvided : StripeEntity<AccountId
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("directors")]
#endif
public bool Directors { get; set; }
public bool? Directors { get; set; }

/// <summary>
/// Whether the company’s executives have been provided. Set this Boolean to true after
Expand All @@ -28,7 +28,7 @@ public class AccountIdentityAttestationsPersonsProvided : StripeEntity<AccountId
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("executives")]
#endif
public bool Executives { get; set; }
public bool? Executives { get; set; }

/// <summary>
/// Whether the company’s owners have been provided. Set this Boolean to true after creating
Expand All @@ -39,7 +39,7 @@ public class AccountIdentityAttestationsPersonsProvided : StripeEntity<AccountId
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("owners")]
#endif
public bool Owners { get; set; }
public bool? Owners { get; set; }

/// <summary>
/// Reason for why the company is exempt from providing ownership information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class AccountIdentityAttestationsTermsOfServiceAccount : StripeEntity<Acc
#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;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class AccountIdentityAttestationsTermsOfServiceStorer : StripeEntity<Acco
#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;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class AccountIdentityBusinessDetails : StripeEntity<AccountIdentityBusine
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("estimated_worker_count")]
#endif
public long EstimatedWorkerCount { get; set; }
public long? EstimatedWorkerCount { get; set; }

/// <summary>
/// The provided ID numbers of a business entity.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/// <summary>
/// The IP address from which the Account's representative accepted the terms of service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity<AccountIdentit
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("authorizer")]
#endif
public bool Authorizer { get; set; }
public bool? Authorizer { get; set; }

/// <summary>
/// Whether the individual is a director of the Account’s legal entity. Directors are
Expand All @@ -26,7 +26,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity<AccountIdentit
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("director")]
#endif
public bool Director { get; set; }
public bool? Director { get; set; }

/// <summary>
/// Whether the individual has significant responsibility to control, manage, or direct the
Expand All @@ -36,7 +36,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity<AccountIdentit
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("executive")]
#endif
public bool Executive { get; set; }
public bool? Executive { get; set; }

/// <summary>
/// Whether the individual is the legal guardian of the Account’s representative.
Expand All @@ -45,7 +45,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity<AccountIdentit
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("legal_guardian")]
#endif
public bool LegalGuardian { get; set; }
public bool? LegalGuardian { get; set; }

/// <summary>
/// Whether the individual is an owner of the Account’s legal entity.
Expand All @@ -54,7 +54,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity<AccountIdentit
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("owner")]
#endif
public bool Owner { get; set; }
public bool? Owner { get; set; }

/// <summary>
/// The percent owned by the individual of the Account’s legal entity.
Expand All @@ -76,7 +76,7 @@ public class AccountIdentityIndividualRelationship : StripeEntity<AccountIdentit
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("representative")]
#endif
public bool Representative { get; set; }
public bool? Representative { get; set; }

/// <summary>
/// The individual's title (e.g., CEO, Support Engineer).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ public class AccountRequirementsSummaryMinimumDeadline : StripeEntity<AccountReq
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("time")]
#endif
public DateTime Time { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
public DateTime? Time { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class OutboundPaymentQuoteFxQuote : StripeEntity<OutboundPaymentQuoteFxQu
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("lock_expires_at")]
#endif
public DateTime LockExpiresAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
public DateTime? LockExpiresAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// Lock status of the quote. Transitions from active to expired once past the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class OutboundPayment : StripeEntity<OutboundPayment>, 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;

/// <summary>
/// The FinancialAccount that funds were pulled from.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class OutboundPaymentStatusTransitions : StripeEntity<OutboundPaymentStat
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("canceled_at")]
#endif
public DateTime CanceledAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
public DateTime? CanceledAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// Timestamp describing when an OutboundPayment changed status to <c>failed</c>.
Expand All @@ -29,7 +29,7 @@ public class OutboundPaymentStatusTransitions : StripeEntity<OutboundPaymentStat
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("failed_at")]
#endif
public DateTime FailedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
public DateTime? FailedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// Timestamp describing when an OutboundPayment changed status to <c>posted</c>.
Expand All @@ -40,7 +40,7 @@ public class OutboundPaymentStatusTransitions : StripeEntity<OutboundPaymentStat
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("posted_at")]
#endif
public DateTime PostedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
public DateTime? PostedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;

/// <summary>
/// Timestamp describing when an OutboundPayment changed status to <c>returned</c>.
Expand All @@ -51,6 +51,6 @@ public class OutboundPaymentStatusTransitions : StripeEntity<OutboundPaymentStat
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("returned_at")]
#endif
public DateTime ReturnedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
public DateTime? ReturnedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class OutboundTransfer : StripeEntity<OutboundTransfer>, 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;

/// <summary>
/// The FinancialAccount that funds were pulled from.
Expand Down
Loading
Loading