-
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
4d0c154
commit ad094c4
Showing
109 changed files
with
1,011 additions
and
420 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 @@ | ||
v1347 | ||
v1399 |
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
46 changes: 46 additions & 0 deletions
46
...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,46 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe.Billing | ||
{ | ||
using Newtonsoft.Json; | ||
using Stripe.Infrastructure; | ||
|
||
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] | ||
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] | ||
public Invoice Invoice | ||
{ | ||
get => this.InternalInvoice?.ExpandedObject; | ||
set => this.InternalInvoice = SetExpandableFieldObject(value, this.InternalInvoice); | ||
} | ||
|
||
[JsonProperty("invoice")] | ||
[JsonConverter(typeof(ExpandableFieldConverter<Invoice>))] | ||
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")] | ||
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
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
4 changes: 4 additions & 0 deletions
4
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPay.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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class ChargePaymentMethodDetailsAmazonPay : StripeEntity<ChargePaymentMethodDetailsAmazonPay> | ||
{ | ||
[JsonProperty("funding")] | ||
public ChargePaymentMethodDetailsAmazonPayFunding Funding { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFunding.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,17 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class ChargePaymentMethodDetailsAmazonPayFunding : StripeEntity<ChargePaymentMethodDetailsAmazonPayFunding> | ||
{ | ||
[JsonProperty("card")] | ||
public ChargePaymentMethodDetailsAmazonPayFundingCard Card { get; set; } | ||
|
||
/// <summary> | ||
/// funding type of the underlying payment method. | ||
/// </summary> | ||
[JsonProperty("type")] | ||
public string Type { get; set; } | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.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,48 @@ | ||
// File generated from our OpenAPI spec | ||
namespace Stripe | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
public class ChargePaymentMethodDetailsAmazonPayFundingCard : StripeEntity<ChargePaymentMethodDetailsAmazonPayFundingCard> | ||
{ | ||
/// <summary> | ||
/// Card brand. Can be <c>amex</c>, <c>diners</c>, <c>discover</c>, <c>eftpos_au</c>, | ||
/// <c>jcb</c>, <c>link</c>, <c>mastercard</c>, <c>unionpay</c>, <c>visa</c>, or | ||
/// <c>unknown</c>. | ||
/// </summary> | ||
[JsonProperty("brand")] | ||
public string Brand { get; set; } | ||
|
||
/// <summary> | ||
/// Two-letter ISO code representing the country of the card. You could use this attribute | ||
/// to get a sense of the international breakdown of cards you've collected. | ||
/// </summary> | ||
[JsonProperty("country")] | ||
public string Country { get; set; } | ||
|
||
/// <summary> | ||
/// Two-digit number representing the card's expiration month. | ||
/// </summary> | ||
[JsonProperty("exp_month")] | ||
public long? ExpMonth { get; set; } | ||
|
||
/// <summary> | ||
/// Four-digit number representing the card's expiration year. | ||
/// </summary> | ||
[JsonProperty("exp_year")] | ||
public long? ExpYear { get; set; } | ||
|
||
/// <summary> | ||
/// Card funding type. Can be <c>credit</c>, <c>debit</c>, <c>prepaid</c>, or | ||
/// <c>unknown</c>. | ||
/// </summary> | ||
[JsonProperty("funding")] | ||
public string Funding { get; set; } | ||
|
||
/// <summary> | ||
/// The last four digits of the card. | ||
/// </summary> | ||
[JsonProperty("last4")] | ||
public string Last4 { get; set; } | ||
} | ||
} |
Oops, something went wrong.