-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba42f71
commit 818a824
Showing
52 changed files
with
817 additions
and
454 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 @@ | ||
v1384 | ||
v1405 |
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
65 changes: 65 additions & 0 deletions
65
...reditBalanceTransactions/CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided.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,65 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Billing | ||
{ | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
#if NET6_0_OR_GREATER | ||
using STJS = System.Text.Json.Serialization; | ||
#endif | ||
|
||
#if NET6_0_OR_GREATER | ||
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))] | ||
#endif | ||
public class CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided : StripeEntity<CreditBalanceTransactionCreditCreditsApplicationInvoiceVoided> | ||
{ | ||
#region Expandable Invoice | ||
|
||
/// <summary> | ||
/// (ID of the Invoice) | ||
/// The invoice to which the reinstated billing credits were originally applied. | ||
/// </summary> | ||
[JsonIgnore] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonIgnore] | ||
#endif | ||
public string InvoiceId | ||
{ | ||
get => this.InternalInvoice?.Id; | ||
set => this.InternalInvoice = SetExpandableFieldId(value, this.InternalInvoice); | ||
} | ||
|
||
/// <summary> | ||
/// (Expanded) | ||
/// The invoice to which the reinstated billing credits were originally applied. | ||
/// | ||
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>. | ||
/// </summary> | ||
[JsonIgnore] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonIgnore] | ||
#endif | ||
public Invoice Invoice | ||
{ | ||
get => this.InternalInvoice?.ExpandedObject; | ||
set => this.InternalInvoice = SetExpandableFieldObject(value, this.InternalInvoice); | ||
} | ||
|
||
[JsonProperty("invoice")] | ||
[JsonConverter(typeof(ExpandableFieldConverter<Invoice>))] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("invoice")] | ||
[STJS.JsonConverter(typeof(STJExpandableFieldConverter<Invoice>))] | ||
#endif | ||
internal ExpandableField<Invoice> InternalInvoice { get; set; } | ||
#endregion | ||
|
||
/// <summary> | ||
/// The invoice line item to which the reinstated billing credits were originally applied. | ||
/// </summary> | ||
[JsonProperty("invoice_line_item")] | ||
#if NET6_0_OR_GREATER | ||
[STJS.JsonPropertyName("invoice_line_item")] | ||
#endif | ||
public string InvoiceLineItem { get; set; } | ||
} | ||
} |
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
Oops, something went wrong.