Skip to content

Commit

Permalink
Update generated code for v1405
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 12, 2024
1 parent 6476581 commit 9998d08
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1401
v1405
10 changes: 10 additions & 0 deletions src/Stripe.net/Entities/Cards/Card.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,16 @@ public Account Account
[JsonProperty("address_zip_check")]
public string AddressZipCheck { get; set; }

/// <summary>
/// This field indicates whether this payment method can be shown again to its customer in a
/// checkout flow. Stripe products such as Checkout and Elements use this field to determine
/// whether a payment method can be shown as a saved payment method in a checkout flow. The
/// field defaults to “unspecified”.
/// One of: <c>always</c>, <c>limited</c>, or <c>unspecified</c>.
/// </summary>
[JsonProperty("allow_redisplay")]
public string AllowRedisplay { get; set; }

/// <summary>
/// A set of available payout methods for this card. Only values from this set should be
/// passed as the <c>method</c> when creating a payout.
Expand Down
10 changes: 10 additions & 0 deletions src/Stripe.net/Entities/Sources/Source.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ public class Source : StripeEntity<Source>, IHasId, IHasMetadata, IHasObject, IP
[JsonProperty("alipay")]
public SourceAlipay Alipay { get; set; }

/// <summary>
/// This field indicates whether this payment method can be shown again to its customer in a
/// checkout flow. Stripe products such as Checkout and Elements use this field to determine
/// whether a payment method can be shown as a saved payment method in a checkout flow. The
/// field defaults to “unspecified”.
/// One of: <c>always</c>, <c>limited</c>, or <c>unspecified</c>.
/// </summary>
[JsonProperty("allow_redisplay")]
public string AllowRedisplay { get; set; }

/// <summary>
/// A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for
/// ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated
Expand Down

0 comments on commit 9998d08

Please sign in to comment.