-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update generated code for v1049 * Update generated code for v1050 * Update generated code for v1051 * Update generated code for v1052 * Update generated code for v1053 * Update generated code for v1054 * Update generated code for v1056 * Update generated code for v1058 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <[email protected]>
- Loading branch information
1 parent
2bae60b
commit 070a87a
Showing
44 changed files
with
817 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v1047 | ||
v1058 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFrom.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFrom : StripeEntity<ConfirmationTokenPaymentMethodPreviewCardGeneratedFrom> | ||
{ | ||
/// <summary> | ||
/// The charge that created this object. | ||
/// </summary> | ||
[JsonProperty("charge")] | ||
public string Charge { get; set; } | ||
|
||
/// <summary> | ||
/// Transaction-specific details of the payment method used in the payment. | ||
/// </summary> | ||
[JsonProperty("payment_method_details")] | ||
public ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetails PaymentMethodDetails { get; set; } | ||
|
||
#region Expandable SetupAttempt | ||
|
||
/// <summary> | ||
/// (ID of the SetupAttempt) | ||
/// The ID of the SetupAttempt that generated this PaymentMethod, if any. | ||
/// </summary> | ||
[JsonIgnore] | ||
public string SetupAttemptId | ||
{ | ||
get => this.InternalSetupAttempt?.Id; | ||
set => this.InternalSetupAttempt = SetExpandableFieldId(value, this.InternalSetupAttempt); | ||
} | ||
|
||
/// <summary> | ||
/// (Expanded) | ||
/// The ID of the SetupAttempt that generated this PaymentMethod, if any. | ||
/// | ||
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>. | ||
/// </summary> | ||
[JsonIgnore] | ||
public SetupAttempt SetupAttempt | ||
{ | ||
get => this.InternalSetupAttempt?.ExpandedObject; | ||
set => this.InternalSetupAttempt = SetExpandableFieldObject(value, this.InternalSetupAttempt); | ||
} | ||
|
||
[JsonProperty("setup_attempt")] | ||
[JsonConverter(typeof(ExpandableFieldConverter<SetupAttempt>))] | ||
internal ExpandableField<SetupAttempt> InternalSetupAttempt { get; set; } | ||
#endregion | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetails.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetails : StripeEntity<ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetails> | ||
{ | ||
[JsonProperty("card_present")] | ||
public ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent CardPresent { get; set; } | ||
|
||
/// <summary> | ||
/// The type of payment method transaction-specific details from the transaction that | ||
/// generated this <c>card</c> payment method. Always <c>card_present</c>. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
public string Type { get; set; } | ||
} | ||
} |
Oops, something went wrong.