Skip to content
Merged
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
6 changes: 6 additions & 0 deletions src/Stripe.net/Infrastructure/Public/StripeConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ static StripeConfiguration()
/// <summary>API version used by Stripe.net.</summary>
public static string ApiVersion => Stripe.ApiVersion.Current;

/// <summary>
/// The major API version that this SDK uses. Objects retrieved using the same major version
/// are compatible. Is an empty string in preview versions of the SDK.
/// </summary>
public static string MajorApiVersion => Stripe.ApiVersion.CurrentMajor;

/// <summary>Gets or sets the API key.</summary>
/// <remarks>
/// You can also set the API key using the <c>StripeApiKey</c> key in
Expand Down
Loading