Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #2315

Merged
merged 1 commit into from
May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;

public class ChargePaymentMethodDetailsAfterpayClearpay : StripeEntity<ChargePaymentMethodDetailsAfterpayClearpay>
{
/// <summary>
/// Order identifier shown to the customer in Afterpay’s online portal.
/// </summary>
[JsonProperty("reference")]
public string Reference { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ public class PaymentIntentPaymentMethodOptions : StripeEntity<PaymentIntentPayme
[JsonProperty("acss_debit")]
public PaymentIntentPaymentMethodOptionsAcssDebit AcssDebit { get; set; }

[JsonProperty("afterpay_clearpay")]
public PaymentIntentPaymentMethodOptionsAfterpayClearpay AfterpayClearpay { get; set; }

[JsonProperty("alipay")]
public PaymentIntentPaymentMethodOptionsAlipay Alipay { get; set; }

Expand Down
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 PaymentIntentPaymentMethodOptionsAfterpayClearpay : StripeEntity<PaymentIntentPaymentMethodOptionsAfterpayClearpay>
{
/// <summary>
/// Order identifier shown to the customer in Afterpay’s online portal. We recommend using a
/// value that helps you answer any questions a customer might have about the payment. The
/// identifier is limited to 128 characters and may contain only letters, digits,
/// underscores, backslashes and dashes.
/// </summary>
[JsonProperty("reference")]
public string Reference { get; set; }
}
}
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 PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions : INestedOptions
{
/// <summary>
/// Order identifier shown to the customer in Afterpay’s online portal. We recommend using a
/// value that helps you answer any questions a customer might have about the payment. The
/// identifier is limited to 128 characters and may contain only letters, digits,
/// underscores, backslashes and dashes.
/// </summary>
[JsonProperty("reference")]
public string Reference { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ public class PaymentIntentPaymentMethodOptionsOptions : INestedOptions
[JsonProperty("acss_debit")]
public PaymentIntentPaymentMethodOptionsAcssDebitOptions AcssDebit { get; set; }

/// <summary>
/// If this is a <c>afterpay_clearpay</c> PaymentMethod, this sub-hash contains details
/// about the Afterpay Clearpay payment method options.
/// </summary>
[JsonProperty("afterpay_clearpay")]
public PaymentIntentPaymentMethodOptionsAfterpayClearpayOptions AfterpayClearpay { get; set; }

/// <summary>
/// If this is a <c>alipay</c> PaymentMethod, this sub-hash contains details about the
/// Alipay payment method options.
Expand Down