-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v703 | ||
v712 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Checkout | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class SessionConsentCollectionPaymentMethodReuseAgreement : StripeEntity<SessionConsentCollectionPaymentMethodReuseAgreement> | ||
{ | ||
/// <summary> | ||
/// Determines the position and visibility of the payment method reuse agreement in the UI. | ||
/// When set to <c>auto</c>, Stripe's defaults will be used. | ||
/// | ||
/// When set to <c>hidden</c>, the payment method reuse agreement text will always be hidden | ||
/// in the UI. | ||
/// One of: <c>auto</c>, or <c>hidden</c>. | ||
/// </summary> | ||
[JsonProperty("position")] | ||
public string Position { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Checkout | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class SessionCustomTextAfterSubmit : StripeEntity<SessionCustomTextAfterSubmit> | ||
{ | ||
/// <summary> | ||
/// Text may be up to 1200 characters in length. | ||
/// </summary> | ||
[JsonProperty("message")] | ||
public string Message { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkConsentCollectionPaymentMethodReuseAgreement : StripeEntity<PaymentLinkConsentCollectionPaymentMethodReuseAgreement> | ||
{ | ||
/// <summary> | ||
/// Determines the position and visibility of the payment method reuse agreement in the UI. | ||
/// When set to <c>auto</c>, Stripe's defaults will be used. | ||
/// | ||
/// When set to <c>hidden</c>, the payment method reuse agreement text will always be hidden | ||
/// in the UI. | ||
/// One of: <c>auto</c>, or <c>hidden</c>. | ||
/// </summary> | ||
[JsonProperty("position")] | ||
public string Position { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkCustomTextAfterSubmit : StripeEntity<PaymentLinkCustomTextAfterSubmit> | ||
{ | ||
/// <summary> | ||
/// Text may be up to 1200 characters in length. | ||
/// </summary> | ||
[JsonProperty("message")] | ||
public string Message { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,13 @@ public BalanceService(IStripeClient client) | |
{ | ||
} | ||
|
||
public override string BasePath => "/v1/balance"; | ||
|
||
protected override string InstanceUrl(string id) | ||
{ | ||
return this.ClassUrl(); | ||
} | ||
|
||
public override string BasePath => "/v1/balance"; | ||
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Balances/BalanceService.cs GitHub Actions / Build and test
|
||
|
||
public virtual Balance Get(RequestOptions requestOptions = null) | ||
{ | ||
return this.Request<Balance>(HttpMethod.Get, $"/v1/balance", null, requestOptions); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Checkout | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class SessionConsentCollectionPaymentMethodReuseAgreementOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Determines the position and visibility of the payment method reuse agreement in the UI. | ||
/// When set to <c>auto</c>, Stripe's defaults will be used. When set to <c>hidden</c>, the | ||
/// payment method reuse agreement text will always be hidden in the UI. | ||
/// One of: <c>auto</c>, or <c>hidden</c>. | ||
/// </summary> | ||
[JsonProperty("position")] | ||
public string Position { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Checkout | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class SessionCustomTextAfterSubmitOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Text may be up to 1200 characters in length. | ||
/// </summary> | ||
[JsonProperty("message")] | ||
public string Message { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkConsentCollectionPaymentMethodReuseAgreementOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Determines the position and visibility of the payment method reuse agreement in the UI. | ||
/// When set to <c>auto</c>, Stripe's defaults will be used. When set to <c>hidden</c>, the | ||
/// payment method reuse agreement text will always be hidden in the UI. | ||
/// One of: <c>auto</c>, or <c>hidden</c>. | ||
/// </summary> | ||
[JsonProperty("position")] | ||
public string Position { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class PaymentLinkCustomTextAfterSubmitOptions : INestedOptions | ||
{ | ||
/// <summary> | ||
/// Text may be up to 1200 characters in length. | ||
/// </summary> | ||
[JsonProperty("message")] | ||
public string Message { get; set; } | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,13 @@ public SettingsService(IStripeClient client) | |
{ | ||
} | ||
|
||
public override string BasePath => "/v1/tax/settings"; | ||
|
||
protected override string InstanceUrl(string id) | ||
{ | ||
return this.ClassUrl(); | ||
} | ||
|
||
public override string BasePath => "/v1/tax/settings"; | ||
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Compat
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Build and test
Check failure on line 26 in src/Stripe.net/Services/Tax/Settings/SettingsService.cs GitHub Actions / Build and test
|
||
|
||
public virtual Settings Get(RequestOptions requestOptions = null) | ||
{ | ||
return this.Request<Settings>(HttpMethod.Get, $"/v1/tax/settings", null, requestOptions); | ||
|