Skip to content

Commit

Permalink
Update generated code for v596
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 10, 2023
1 parent 51ff7d4 commit 5b1fbb9
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v595
v596
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public class Configuration : StripeEntity<Configuration>, IHasId, IHasObject
[JsonProperty("livemode")]
public bool Livemode { get; set; }

[JsonProperty("offline")]
public ConfigurationOffline Offline { get; set; }

[JsonProperty("tipping")]
public ConfigurationTipping Tipping { get; set; }

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// File generated from our OpenAPI spec
namespace Stripe.Terminal
{
using Newtonsoft.Json;

public class ConfigurationOffline : StripeEntity<ConfigurationOffline>
{
/// <summary>
/// Determines whether to allow transactions to be collected while reader is offline.
/// Defaults to false.
/// </summary>
[JsonProperty("enabled")]
public bool? Enabled { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ public class ConfigurationCreateOptions : BaseOptions
[JsonProperty("bbpos_wisepos_e")]
public ConfigurationBbposWiseposEOptions BbposWiseposE { get; set; }

/// <summary>
/// Configurations for collecting transactions offline.
/// </summary>
[JsonProperty("offline")]
public ConfigurationOfflineOptions Offline { get; set; }

/// <summary>
/// Tipping configurations for readers supporting on-reader tips.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// File generated from our OpenAPI spec
namespace Stripe.Terminal
{
using Newtonsoft.Json;

public class ConfigurationOfflineOptions : INestedOptions
{
/// <summary>
/// Determines whether to allow transactions to be collected while reader is offline.
/// Defaults to false.
/// </summary>
[JsonProperty("enabled")]
public bool? Enabled { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ public class ConfigurationUpdateOptions : BaseOptions
[JsonProperty("bbpos_wisepos_e")]
public ConfigurationBbposWiseposEOptions BbposWiseposE { get; set; }

/// <summary>
/// Configurations for collecting transactions offline.
/// </summary>
[JsonProperty("offline")]
public ConfigurationOfflineOptions Offline { get; set; }

/// <summary>
/// Tipping configurations for readers supporting on-reader tips.
/// </summary>
Expand Down

0 comments on commit 5b1fbb9

Please sign in to comment.