-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3031 from stripe/latest-codegen-beta
Update generated code for beta
- Loading branch information
Showing
41 changed files
with
416 additions
and
73 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
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 @@ | ||
v1356 | ||
v1370 |
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; } | ||
} | ||
} |
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
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPartialAuthorization.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 ChargePaymentMethodDetailsCardPartialAuthorization : StripeEntity<ChargePaymentMethodDetailsCardPartialAuthorization> | ||
{ | ||
/// <summary> | ||
/// Indicates whether the transaction requested for partial authorization feature and the | ||
/// authorization outcome. | ||
/// One of: <c>declined</c>, <c>fully_authorized</c>, <c>not_requested</c>, or | ||
/// <c>partially_authorized</c>. | ||
/// </summary> | ||
[JsonProperty("status")] | ||
public string Status { get; set; } | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPay.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 ChargePaymentMethodDetailsRevolutPay : StripeEntity<ChargePaymentMethodDetailsRevolutPay> | ||
{ | ||
[JsonProperty("funding")] | ||
public ChargePaymentMethodDetailsRevolutPayFunding Funding { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFunding.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 ChargePaymentMethodDetailsRevolutPayFunding : StripeEntity<ChargePaymentMethodDetailsRevolutPayFunding> | ||
{ | ||
[JsonProperty("card")] | ||
public ChargePaymentMethodDetailsRevolutPayFundingCard 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/ChargePaymentMethodDetailsRevolutPayFundingCard.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 ChargePaymentMethodDetailsRevolutPayFundingCard : StripeEntity<ChargePaymentMethodDetailsRevolutPayFundingCard> | ||
{ | ||
/// <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; } | ||
} | ||
} |
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.