Skip to content
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
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2023
v2025
9 changes: 0 additions & 9 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -1243,15 +1243,6 @@ public static class Capabilities extends StripeObject {
@SerializedName("paynow_payments")
String paynowPayments;

/**
* The status of the Paypay capability of the account, or whether the account can directly
* process Paypay payments.
*
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
*/
@SerializedName("paypay_payments")
String paypayPayments;

/**
* The status of the pix payments capability of the account, or whether the account can directly
* process pix charges.
Expand Down
12 changes: 0 additions & 12 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -1273,9 +1273,6 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("paypal")
Paypal paypal;

@SerializedName("paypay")
Paypay paypay;

@SerializedName("pix")
Pix pix;

Expand Down Expand Up @@ -3572,15 +3569,6 @@ public static class SellerProtection extends StripeObject {
}
}

/**
* For more details about Paypay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paypay extends StripeObject {}

/**
* For more details about Pix, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
18 changes: 3 additions & 15 deletions src/main/java/com/stripe/model/ConfirmationToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,6 @@ public static class PaymentMethodPreview extends StripeObject {
@SerializedName("paypal")
Paypal paypal;

@SerializedName("paypay")
Paypay paypay;

@SerializedName("pix")
Pix pix;

Expand Down Expand Up @@ -450,9 +447,9 @@ public static class PaymentMethodPreview extends StripeObject {
* kakao_pay}, {@code klarna}, {@code konbini}, {@code kr_card}, {@code link}, {@code mb_way},
* {@code mobilepay}, {@code multibanco}, {@code naver_pay}, {@code nz_bank_account}, {@code
* oxxo}, {@code p24}, {@code pay_by_bank}, {@code payco}, {@code paynow}, {@code paypal},
* {@code paypay}, {@code pix}, {@code promptpay}, {@code revolut_pay}, {@code samsung_pay},
* {@code satispay}, {@code sepa_debit}, {@code sofort}, {@code swish}, {@code twint}, {@code
* us_bank_account}, {@code wechat_pay}, or {@code zip}.
* {@code pix}, {@code promptpay}, {@code revolut_pay}, {@code samsung_pay}, {@code satispay},
* {@code sepa_debit}, {@code sofort}, {@code swish}, {@code twint}, {@code us_bank_account},
* {@code wechat_pay}, or {@code zip}.
*/
@SerializedName("type")
String type;
Expand Down Expand Up @@ -2079,15 +2076,6 @@ public static class Paypal extends StripeObject {
String payerId;
}

/**
* For more details about Paypay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paypay extends StripeObject {}

/**
* For more details about Pix, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/Dispute.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ public class Dispute extends ApiResource
* warning_under_review}, {@code warning_closed}, {@code needs_response}, {@code under_review},
* {@code won}, {@code lost}, or {@code prevented}.
*
* <p>One of {@code lost}, {@code needs_response}, {@code under_review}, {@code warning_closed},
* {@code warning_needs_response}, {@code warning_under_review}, or {@code won}.
* <p>One of {@code lost}, {@code needs_response}, {@code prevented}, {@code under_review}, {@code
* warning_closed}, {@code warning_needs_response}, {@code warning_under_review}, or {@code won}.
*/
@SerializedName("status")
String status;
Expand Down
12 changes: 0 additions & 12 deletions src/main/java/com/stripe/model/PaymentIntent.java
Original file line number Diff line number Diff line change
Expand Up @@ -2640,9 +2640,6 @@ public static class PaymentMethodOptions extends StripeObject {
@SerializedName("paypal")
Paypal paypal;

@SerializedName("paypay")
Paypay paypay;

@SerializedName("pix")
Pix pix;

Expand Down Expand Up @@ -4478,15 +4475,6 @@ public static class Paypal extends StripeObject {
String setupFutureUsage;
}

/**
* For more details about Paypay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paypay extends StripeObject {}

/**
* For more details about Pix, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down
20 changes: 3 additions & 17 deletions src/main/java/com/stripe/model/PaymentMethod.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,6 @@ public class PaymentMethod extends ApiResource implements HasId, MetadataStore<P
@SerializedName("paypal")
Paypal paypal;

@SerializedName("paypay")
Paypay paypay;

@SerializedName("pix")
Pix pix;

Expand Down Expand Up @@ -254,10 +251,9 @@ public class PaymentMethod extends ApiResource implements HasId, MetadataStore<P
* {@code grabpay}, {@code ideal}, {@code interac_present}, {@code kakao_pay}, {@code klarna},
* {@code konbini}, {@code kr_card}, {@code link}, {@code mb_way}, {@code mobilepay}, {@code
* multibanco}, {@code naver_pay}, {@code nz_bank_account}, {@code oxxo}, {@code p24}, {@code
* pay_by_bank}, {@code payco}, {@code paynow}, {@code paypal}, {@code paypay}, {@code pix},
* {@code promptpay}, {@code revolut_pay}, {@code samsung_pay}, {@code satispay}, {@code
* sepa_debit}, {@code sofort}, {@code swish}, {@code twint}, {@code us_bank_account}, {@code
* wechat_pay}, or {@code zip}.
* pay_by_bank}, {@code payco}, {@code paynow}, {@code paypal}, {@code pix}, {@code promptpay},
* {@code revolut_pay}, {@code samsung_pay}, {@code satispay}, {@code sepa_debit}, {@code sofort},
* {@code swish}, {@code twint}, {@code us_bank_account}, {@code wechat_pay}, or {@code zip}.
*/
@SerializedName("type")
String type;
Expand Down Expand Up @@ -2268,15 +2264,6 @@ public static class Paypal extends StripeObject {
String payerId;
}

/**
* For more details about Paypay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paypay extends StripeObject {}

/**
* For more details about Pix, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down Expand Up @@ -2639,7 +2626,6 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(payco, responseGetter);
trySetResponseGetter(paynow, responseGetter);
trySetResponseGetter(paypal, responseGetter);
trySetResponseGetter(paypay, responseGetter);
trySetResponseGetter(pix, responseGetter);
trySetResponseGetter(promptpay, responseGetter);
trySetResponseGetter(radarOptions, responseGetter);
Expand Down
55 changes: 0 additions & 55 deletions src/main/java/com/stripe/model/PaymentMethodConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ public class PaymentMethodConfiguration extends ApiResource implements HasId {
@SerializedName("paypal")
Paypal paypal;

@SerializedName("paypay")
Paypay paypay;

@SerializedName("pix")
Pix pix;

Expand Down Expand Up @@ -2391,57 +2388,6 @@ public static class DisplayPreference extends StripeObject {
}
}

/**
* For more details about Paypay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Paypay extends StripeObject {
/**
* Whether this payment method may be offered at checkout. True if {@code display_preference} is
* {@code on} and the payment method's capability is active.
*/
@SerializedName("available")
Boolean available;

@SerializedName("display_preference")
DisplayPreference displayPreference;

/**
* For more details about DisplayPreference, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class DisplayPreference extends StripeObject {
/**
* For child configs, whether or not the account's preference will be observed. If {@code
* false}, the parent configuration's default is used.
*/
@SerializedName("overridable")
Boolean overridable;

/**
* The account's display preference.
*
* <p>One of {@code none}, {@code off}, or {@code on}.
*/
@SerializedName("preference")
String preference;

/**
* The effective display preference value.
*
* <p>One of {@code off}, or {@code on}.
*/
@SerializedName("value")
String value;
}
}

/**
* For more details about Pix, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down Expand Up @@ -3096,7 +3042,6 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(payco, responseGetter);
trySetResponseGetter(paynow, responseGetter);
trySetResponseGetter(paypal, responseGetter);
trySetResponseGetter(paypay, responseGetter);
trySetResponseGetter(pix, responseGetter);
trySetResponseGetter(promptpay, responseGetter);
trySetResponseGetter(revolutPay, responseGetter);
Expand Down
96 changes: 0 additions & 96 deletions src/main/java/com/stripe/param/AccountCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -1456,10 +1456,6 @@ public static class Capabilities {
@SerializedName("paynow_payments")
PaynowPayments paynowPayments;

/** The paypay_payments capability. */
@SerializedName("paypay_payments")
PaypayPayments paypayPayments;

/** The pix_payments capability. */
@SerializedName("pix_payments")
PixPayments pixPayments;
Expand Down Expand Up @@ -1573,7 +1569,6 @@ private Capabilities(
PayByBankPayments payByBankPayments,
PaycoPayments paycoPayments,
PaynowPayments paynowPayments,
PaypayPayments paypayPayments,
PixPayments pixPayments,
PromptpayPayments promptpayPayments,
RevolutPayPayments revolutPayPayments,
Expand Down Expand Up @@ -1635,7 +1630,6 @@ private Capabilities(
this.payByBankPayments = payByBankPayments;
this.paycoPayments = paycoPayments;
this.paynowPayments = paynowPayments;
this.paypayPayments = paypayPayments;
this.pixPayments = pixPayments;
this.promptpayPayments = promptpayPayments;
this.revolutPayPayments = revolutPayPayments;
Expand Down Expand Up @@ -1748,8 +1742,6 @@ public static class Builder {

private PaynowPayments paynowPayments;

private PaypayPayments paypayPayments;

private PixPayments pixPayments;

private PromptpayPayments promptpayPayments;
Expand Down Expand Up @@ -1831,7 +1823,6 @@ public AccountCreateParams.Capabilities build() {
this.payByBankPayments,
this.paycoPayments,
this.paynowPayments,
this.paypayPayments,
this.pixPayments,
this.promptpayPayments,
this.revolutPayPayments,
Expand Down Expand Up @@ -2169,13 +2160,6 @@ public Builder setPaynowPayments(
return this;
}

/** The paypay_payments capability. */
public Builder setPaypayPayments(
AccountCreateParams.Capabilities.PaypayPayments paypayPayments) {
this.paypayPayments = paypayPayments;
return this;
}

/** The pix_payments capability. */
public Builder setPixPayments(AccountCreateParams.Capabilities.PixPayments pixPayments) {
this.pixPayments = pixPayments;
Expand Down Expand Up @@ -5729,86 +5713,6 @@ public Builder setRequested(Boolean requested) {
}
}

@Getter
@EqualsAndHashCode(callSuper = false)
public static class PaypayPayments {
/**
* Map of extra parameters for custom features not available in this client library. The
* content in this map is not serialized under this field's {@code @SerializedName} value.
* Instead, each key/value pair is serialized as if the key is a root-level field (serialized)
* name in this param object. Effectively, this map is flattened to its parent instance.
*/
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
Map<String, Object> extraParams;

/**
* Passing true requests the capability for the account, if it is not already requested. A
* requested capability may not immediately become active. Any requirements to activate the
* capability are returned in the {@code requirements} arrays.
*/
@SerializedName("requested")
Boolean requested;

private PaypayPayments(Map<String, Object> extraParams, Boolean requested) {
this.extraParams = extraParams;
this.requested = requested;
}

public static Builder builder() {
return new Builder();
}

public static class Builder {
private Map<String, Object> extraParams;

private Boolean requested;

/** Finalize and obtain parameter instance from this builder. */
public AccountCreateParams.Capabilities.PaypayPayments build() {
return new AccountCreateParams.Capabilities.PaypayPayments(
this.extraParams, this.requested);
}

/**
* Add a key/value pair to `extraParams` map. A map is initialized for the first
* `put/putAll` call, and subsequent calls add additional key/value pairs to the original
* map. See {@link AccountCreateParams.Capabilities.PaypayPayments#extraParams} for the
* field documentation.
*/
public Builder putExtraParam(String key, Object value) {
if (this.extraParams == null) {
this.extraParams = new HashMap<>();
}
this.extraParams.put(key, value);
return this;
}

/**
* Add all map key/value pairs to `extraParams` map. A map is initialized for the first
* `put/putAll` call, and subsequent calls add additional key/value pairs to the original
* map. See {@link AccountCreateParams.Capabilities.PaypayPayments#extraParams} for the
* field documentation.
*/
public Builder putAllExtraParam(Map<String, Object> map) {
if (this.extraParams == null) {
this.extraParams = new HashMap<>();
}
this.extraParams.putAll(map);
return this;
}

/**
* Passing true requests the capability for the account, if it is not already requested. A
* requested capability may not immediately become active. Any requirements to activate the
* capability are returned in the {@code requirements} arrays.
*/
public Builder setRequested(Boolean requested) {
this.requested = requested;
return this;
}
}
}

@Getter
@EqualsAndHashCode(callSuper = false)
public static class PixPayments {
Expand Down
Loading
Loading