Skip to content
Open
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 CODEGEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e83a2c042b6fd289e2c574f1db817b0aa55d8b0d
7cf43862d86f7fc88238863dab58ade8fd03a366
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2413
v2439
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ public static final class EventData {
* <p>One of {@code ach_debit_payments}, {@code acss_debit_payments}, {@code affirm_payments},
* {@code afterpay_clearpay_payments}, {@code alma_payments}, {@code amazon_pay_payments},
* {@code au_becs_debit_payments}, {@code bacs_debit_payments}, {@code bancontact_payments},
* {@code blik_payments}, {@code boleto_payments}, {@code card_payments}, {@code
* cartes_bancaires_payments}, {@code cashapp_payments}, {@code eps_payments}, {@code
* fpx_payments}, {@code gb_bank_transfer_payments}, {@code grabpay_payments}, {@code
* ideal_payments}, {@code jcb_payments}, {@code jp_bank_transfer_payments}, {@code
* kakao_pay_payments}, {@code klarna_payments}, {@code konbini_payments}, {@code
* kr_card_payments}, {@code link_payments}, {@code mobilepay_payments}, {@code
* multibanco_payments}, {@code mx_bank_transfer_payments}, {@code naver_pay_payments}, {@code
* oxxo_payments}, {@code p24_payments}, {@code payco_payments}, {@code paynow_payments}, {@code
* stripe_balance.payouts}, {@code pay_by_bank_payments}, {@code promptpay_payments}, {@code
* revolut_pay_payments}, {@code samsung_pay_payments}, {@code sepa_bank_transfer_payments},
* {@code sepa_debit_payments}, {@code sunbit_payments}, {@code swish_payments}, {@code
* twint_payments}, {@code us_bank_transfer_payments}, or {@code zip_payments}.
* {@code blik_payments}, {@code blik_recurring_payments}, {@code boleto_payments}, {@code
* card_payments}, {@code cartes_bancaires_payments}, {@code cashapp_payments}, {@code
* eps_payments}, {@code fpx_payments}, {@code gb_bank_transfer_payments}, {@code
* grabpay_payments}, {@code ideal_payments}, {@code jcb_payments}, {@code
* jp_bank_transfer_payments}, {@code kakao_pay_payments}, {@code klarna_payments}, {@code
* konbini_payments}, {@code kr_card_payments}, {@code link_payments}, {@code
* mobilepay_payments}, {@code multibanco_payments}, {@code mx_bank_transfer_payments}, {@code
* naver_pay_payments}, {@code oxxo_payments}, {@code p24_payments}, {@code payco_payments},
* {@code paynow_payments}, {@code stripe_balance.payouts}, {@code pay_by_bank_payments}, {@code
* promptpay_payments}, {@code revolut_pay_payments}, {@code samsung_pay_payments}, {@code
* sepa_bank_transfer_payments}, {@code sepa_debit_payments}, {@code sunbit_payments}, {@code
* swish_payments}, {@code twint_payments}, {@code us_bank_transfer_payments}, or {@code
* zip_payments}.
*/
@SerializedName("updated_capability")
String updatedCapability;
Expand Down
41 changes: 32 additions & 9 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -1529,15 +1529,6 @@ public static class Capabilities extends StripeObject {
@SerializedName("sepa_debit_payments")
String sepaDebitPayments;

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

/**
* The status of the ShopeePay capability of the account, or whether the account can directly
* process ShopeePay payments.
Expand Down Expand Up @@ -2450,6 +2441,9 @@ public static class Errors extends StripeObject {
@SerializedName("code")
String code;

@SerializedName("details")
Details details;

/**
* An informative message that indicates the error type and provides additional details about
* the error.
Expand All @@ -2463,6 +2457,19 @@ public static class Errors extends StripeObject {
*/
@SerializedName("requirement")
String requirement;

/**
* For more details about Details, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Details extends StripeObject {
/** The rejection code as received from our payment method partner. */
@SerializedName("partner_rejection_code")
String partnerRejectionCode;
}
}
}

Expand Down Expand Up @@ -2656,6 +2663,9 @@ public static class Errors extends StripeObject {
@SerializedName("code")
String code;

@SerializedName("details")
Details details;

/**
* An informative message that indicates the error type and provides additional details about
* the error.
Expand All @@ -2669,6 +2679,19 @@ public static class Errors extends StripeObject {
*/
@SerializedName("requirement")
String requirement;

/**
* For more details about Details, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Details extends StripeObject {
/** The rejection code as received from our payment method partner. */
@SerializedName("partner_rejection_code")
String partnerRejectionCode;
}
}
}

Expand Down
36 changes: 36 additions & 0 deletions src/main/java/com/stripe/model/AccountSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ public static class Components extends StripeObject {
@SerializedName("payment_disputes")
PaymentDisputes paymentDisputes;

@SerializedName("payment_method_settings")
PaymentMethodSettings paymentMethodSettings;

@SerializedName("payments")
Payments payments;

Expand Down Expand Up @@ -1285,6 +1288,39 @@ public static class Features extends StripeObject {
}
}

/**
* For more details about PaymentMethodSettings, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class PaymentMethodSettings extends StripeObject {
/** Whether the embedded component is enabled. */
@SerializedName("enabled")
Boolean enabled;

@SerializedName("features")
Features features;

/**
* For more details about Features, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Features extends StripeObject {
/**
* Whether Stripe user authentication is disabled. This value can only be {@code true} for
* accounts where {@code controller.requirement_collection} is {@code application} for the
* account. This is {@code false} by default.
*/
@SerializedName("disable_stripe_user_authentication")
Boolean disableStripeUserAuthentication;
}
}

/**
* For more details about Payments, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down
32 changes: 32 additions & 0 deletions src/main/java/com/stripe/model/BankAccount.java
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,9 @@ public static class Errors extends StripeObject {
@SerializedName("code")
String code;

@SerializedName("details")
Details details;

/**
* An informative message that indicates the error type and provides additional details about
* the error.
Expand All @@ -631,6 +634,19 @@ public static class Errors extends StripeObject {
*/
@SerializedName("requirement")
String requirement;

/**
* For more details about Details, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Details extends StripeObject {
/** The rejection code as received from our payment method partner. */
@SerializedName("partner_rejection_code")
String partnerRejectionCode;
}
}
}

Expand Down Expand Up @@ -747,6 +763,9 @@ public static class Errors extends StripeObject {
@SerializedName("code")
String code;

@SerializedName("details")
Details details;

/**
* An informative message that indicates the error type and provides additional details about
* the error.
Expand All @@ -760,6 +779,19 @@ public static class Errors extends StripeObject {
*/
@SerializedName("requirement")
String requirement;

/**
* For more details about Details, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Details extends StripeObject {
/** The rejection code as received from our payment method partner. */
@SerializedName("partner_rejection_code")
String partnerRejectionCode;
}
}
}

Expand Down
32 changes: 32 additions & 0 deletions src/main/java/com/stripe/model/Capability.java
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ public static class Errors extends StripeObject {
@SerializedName("code")
String code;

@SerializedName("details")
Details details;

/**
* An informative message that indicates the error type and provides additional details about
* the error.
Expand All @@ -326,6 +329,19 @@ public static class Errors extends StripeObject {
*/
@SerializedName("requirement")
String requirement;

/**
* For more details about Details, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Details extends StripeObject {
/** The rejection code as received from our payment method partner. */
@SerializedName("partner_rejection_code")
String partnerRejectionCode;
}
}
}

Expand Down Expand Up @@ -539,6 +555,9 @@ public static class Errors extends StripeObject {
@SerializedName("code")
String code;

@SerializedName("details")
Details details;

/**
* An informative message that indicates the error type and provides additional details about
* the error.
Expand All @@ -552,6 +571,19 @@ public static class Errors extends StripeObject {
*/
@SerializedName("requirement")
String requirement;

/**
* For more details about Details, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Details extends StripeObject {
/** The rejection code as received from our payment method partner. */
@SerializedName("partner_rejection_code")
String partnerRejectionCode;
}
}
}

Expand Down
30 changes: 10 additions & 20 deletions src/main/java/com/stripe/model/Charge.java
Original file line number Diff line number Diff line change
Expand Up @@ -1329,9 +1329,6 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("sepa_debit")
SepaDebit sepaDebit;

@SerializedName("sequra")
Sequra sequra;

@SerializedName("shopeepay")
Shopeepay shopeepay;

Expand Down Expand Up @@ -2513,7 +2510,14 @@ public static class GooglePay extends StripeObject {}
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Link extends StripeObject {}
public static class Link extends StripeObject {
/**
* The <a href="https://docs.stripe.com/payments/link/link-payment-methods">funding source
* group code</a> applied to this Link payment at confirmation time.
*/
@SerializedName("funding_source_group")
String fundingSourceGroup;
}

/**
* For more details about Masterpass, please refer to the <a
Expand Down Expand Up @@ -3748,9 +3752,8 @@ public static class Link extends StripeObject {
String country;

/**
* The funding source group applied to this Link payment at confirmation time. Maps to a
* bundle in your Stripe pricing contract and on Stripe's published pricing page. Omitted if
* group lookup failed at confirmation time.
* The <a href="https://docs.stripe.com/payments/link/link-payment-methods">funding source
* group code</a> applied to this Link payment at confirmation time.
*/
@SerializedName("funding_source_group")
String fundingSourceGroup;
Expand Down Expand Up @@ -4371,19 +4374,6 @@ public static class SepaDebit extends StripeObject {
String mandate;
}

/**
* For more details about Sequra, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Sequra extends StripeObject {
/** The SeQura transaction ID associated with this payment. */
@SerializedName("transaction_id")
String transactionId;
}

/**
* For more details about Shopeepay, 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 @@ -455,9 +455,6 @@ public static class PaymentMethodPreview extends StripeObject {
@SerializedName("sepa_debit")
SepaDebit sepaDebit;

@SerializedName("sequra")
Sequra sequra;

@SerializedName("shopeepay")
Shopeepay shopeepay;

Expand Down Expand Up @@ -495,9 +492,9 @@ public static class PaymentMethodPreview extends StripeObject {
* {@code oxxo}, {@code p24}, {@code pay_by_bank}, {@code payco}, {@code paynow}, {@code
* paypal}, {@code paypay}, {@code payto}, {@code pix}, {@code promptpay}, {@code qris}, {@code
* rechnung}, {@code revolut_pay}, {@code samsung_pay}, {@code satispay}, {@code scalapay},
* {@code sepa_debit}, {@code sequra}, {@code shopeepay}, {@code sofort}, {@code
* stripe_balance}, {@code sunbit}, {@code swish}, {@code tamara}, {@code twint}, {@code upi},
* {@code us_bank_account}, {@code vipps}, {@code wechat_pay}, or {@code zip}.
* {@code sepa_debit}, {@code shopeepay}, {@code sofort}, {@code stripe_balance}, {@code
* sunbit}, {@code swish}, {@code tamara}, {@code twint}, {@code upi}, {@code us_bank_account},
* {@code vipps}, {@code wechat_pay}, or {@code zip}.
*/
@SerializedName("type")
String type;
Expand Down Expand Up @@ -2568,15 +2565,6 @@ public void setSetupAttemptObject(SetupAttempt expandableObject) {
}
}

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

/**
* For more details about Shopeepay, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down
Loading
Loading