Skip to content

Commit be7a819

Browse files
Codegen for openapi 430dde2
1 parent 106f78b commit be7a819

5 files changed

+51
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
// File generated from our OpenAPI spec
22
namespace Stripe
33
{
4+
using Newtonsoft.Json;
5+
46
public class ChargePaymentMethodDetailsAfterpayClearpay : StripeEntity<ChargePaymentMethodDetailsAfterpayClearpay>
57
{
8+
/// <summary>
9+
/// Order identifier shown to the customer in Afterpay’s online portal.
10+
/// </summary>
11+
[JsonProperty("reference")]
12+
public string Reference { get; set; }
613
}
714
}

src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptions.cs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ public class PaymentIntentPaymentMethodOptions : StripeEntity<PaymentIntentPayme
88
[JsonProperty("acss_debit")]
99
public PaymentIntentPaymentMethodOptionsAcssDebit AcssDebit { get; set; }
1010

11+
[JsonProperty("afterpay_clearpay")]
12+
public PaymentIntentPaymentMethodOptionsAfterpayClearpay AfterpayClearpay { get; set; }
13+
1114
[JsonProperty("alipay")]
1215
public PaymentIntentPaymentMethodOptionsAlipay Alipay { get; set; }
1316

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe
3+
{
4+
using Newtonsoft.Json;
5+
6+
public class PaymentIntentPaymentMethodOptionsAfterpayClearpay : StripeEntity<PaymentIntentPaymentMethodOptionsAfterpayClearpay>
7+
{
8+
/// <summary>
9+
/// Order identifier shown to the customer in Afterpay’s online portal. We recommend using a
10+
/// value that helps you answer any questions a customer might have about the payment. The
11+
/// identifier is limited to 128 characters and may contain only letters, digits,
12+
/// underscores, backslashes and dashes.
13+
/// </summary>
14+
[JsonProperty("reference")]
15+
public string Reference { get; set; }
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe
3+
{
4+
using Newtonsoft.Json;
5+
6+
public class PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions : INestedOptions
7+
{
8+
/// <summary>
9+
/// Order identifier shown to the customer in Afterpay’s online portal. We recommend using a
10+
/// value that helps you answer any questions a customer might have about the payment. The
11+
/// identifier is limited to 128 characters and may contain only letters, digits,
12+
/// underscores, backslashes and dashes.
13+
/// </summary>
14+
[JsonProperty("reference")]
15+
public string Reference { get; set; }
16+
}
17+
}

src/Stripe.net/Services/PaymentIntents/PaymentIntentPaymentMethodOptionsOptions.cs

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ public class PaymentIntentPaymentMethodOptionsOptions : INestedOptions
1212
[JsonProperty("acss_debit")]
1313
public PaymentIntentPaymentMethodOptionsAcssDebitOptions AcssDebit { get; set; }
1414

15+
/// <summary>
16+
/// If this is a <c>afterpay_clearpay</c> PaymentMethod, this sub-hash contains details
17+
/// about the Afterpay Clearpay payment method options.
18+
/// </summary>
19+
[JsonProperty("afterpay_clearpay")]
20+
public PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions AfterpayClearpay { get; set; }
21+
1522
/// <summary>
1623
/// If this is a <c>alipay</c> PaymentMethod, this sub-hash contains details about the
1724
/// Alipay payment method options.

0 commit comments

Comments
 (0)