Skip to content

Commit

Permalink
Update generated code for v1307
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Oct 17, 2024
1 parent f6bdea9 commit bdb5085
Show file tree
Hide file tree
Showing 22 changed files with 4,297 additions and 56 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1306
v1307
27 changes: 27 additions & 0 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,15 @@ public static class Capabilities extends StripeObject {
@SerializedName("giropay_payments")
String giropayPayments;

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

/**
* The status of the GrabPay payments capability of the account, or whether the account can
* directly process GrabPay charges.
Expand Down Expand Up @@ -1228,6 +1237,15 @@ public static class Capabilities extends StripeObject {
@SerializedName("promptpay_payments")
String promptpayPayments;

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

/**
* The status of the Rechnung capability of the account, or whether the account can directly
* process Rechnung payments.
Expand Down Expand Up @@ -1273,6 +1291,15 @@ public static class Capabilities extends StripeObject {
@SerializedName("sepa_debit_payments")
String sepaDebitPayments;

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

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

@SerializedName("gopay")
Gopay gopay;

@SerializedName("grabpay")
Grabpay grabpay;

Expand Down Expand Up @@ -1259,6 +1262,9 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("promptpay")
Promptpay promptpay;

@SerializedName("qris")
Qris qris;

@SerializedName("rechnung")
Rechnung rechnung;

Expand All @@ -1274,6 +1280,9 @@ public static class PaymentMethodDetails extends StripeObject {
@SerializedName("sepa_debit")
SepaDebit sepaDebit;

@SerializedName("shopeepay")
Shopeepay shopeepay;

@SerializedName("sofort")
Sofort sofort;

Expand Down Expand Up @@ -2616,6 +2625,15 @@ public static class Giropay extends StripeObject {
String verifiedName;
}

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

/**
* For more details about Grabpay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down Expand Up @@ -3358,6 +3376,15 @@ public static class Promptpay extends StripeObject {
String reference;
}

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

/**
* For more details about Rechnung, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -3451,6 +3478,15 @@ public static class SepaDebit extends StripeObject {
String mandate;
}

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

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

@SerializedName("gopay")
Gopay gopay;

@SerializedName("grabpay")
Grabpay grabpay;

Expand Down Expand Up @@ -361,6 +364,9 @@ public static class PaymentMethodPreview extends StripeObject {
@SerializedName("promptpay")
Promptpay promptpay;

@SerializedName("qris")
Qris qris;

@SerializedName("rechnung")
Rechnung rechnung;

Expand All @@ -373,6 +379,9 @@ public static class PaymentMethodPreview extends StripeObject {
@SerializedName("sepa_debit")
SepaDebit sepaDebit;

@SerializedName("shopeepay")
Shopeepay shopeepay;

@SerializedName("sofort")
Sofort sofort;

Expand All @@ -390,13 +399,14 @@ public static class PaymentMethodPreview extends StripeObject {
* <p>One of {@code acss_debit}, {@code affirm}, {@code afterpay_clearpay}, {@code alipay},
* {@code alma}, {@code amazon_pay}, {@code au_becs_debit}, {@code bacs_debit}, {@code
* bancontact}, {@code blik}, {@code boleto}, {@code card}, {@code card_present}, {@code
* cashapp}, {@code customer_balance}, {@code eps}, {@code fpx}, {@code giropay}, {@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
* cashapp}, {@code customer_balance}, {@code eps}, {@code fpx}, {@code giropay}, {@code gopay},
* {@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 oxxo}, {@code p24}, {@code payco}, {@code paynow},
* {@code paypal}, {@code payto}, {@code pix}, {@code promptpay}, {@code rechnung}, {@code
* revolut_pay}, {@code samsung_pay}, {@code sepa_debit}, {@code sofort}, {@code swish}, {@code
* twint}, {@code us_bank_account}, {@code wechat_pay}, or {@code zip}.
* {@code paypal}, {@code payto}, {@code pix}, {@code promptpay}, {@code qris}, {@code
* rechnung}, {@code revolut_pay}, {@code samsung_pay}, {@code sepa_debit}, {@code shopeepay},
* {@code sofort}, {@code swish}, {@code twint}, {@code us_bank_account}, {@code wechat_pay}, or
* {@code zip}.
*/
@SerializedName("type")
String type;
Expand Down Expand Up @@ -1532,6 +1542,15 @@ public static class Fpx extends StripeObject {
@EqualsAndHashCode(callSuper = false)
public static class Giropay extends StripeObject {}

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

/**
* For more details about Grabpay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down Expand Up @@ -1949,6 +1968,15 @@ public static class Pix extends StripeObject {}
@EqualsAndHashCode(callSuper = false)
public static class Promptpay extends StripeObject {}

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

/**
* For more details about Rechnung, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -2094,6 +2122,15 @@ public void setSetupAttemptObject(SetupAttempt expandableObject) {
}
}

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

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

@SerializedName("gopay")
Gopay gopay;

@SerializedName("grabpay")
Grabpay grabpay;

Expand Down Expand Up @@ -3051,6 +3054,9 @@ public static class PaymentMethodOptions extends StripeObject {
@SerializedName("promptpay")
Promptpay promptpay;

@SerializedName("qris")
Qris qris;

@SerializedName("rechnung")
Rechnung rechnung;

Expand All @@ -3063,6 +3069,9 @@ public static class PaymentMethodOptions extends StripeObject {
@SerializedName("sepa_debit")
SepaDebit sepaDebit;

@SerializedName("shopeepay")
Shopeepay shopeepay;

@SerializedName("sofort")
Sofort sofort;

Expand Down Expand Up @@ -4171,6 +4180,39 @@ public static class Giropay extends StripeObject {
String setupFutureUsage;
}

/**
* For more details about Gopay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Gopay extends StripeObject {
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* <p>If you provide a Customer with the PaymentIntent, you can use this parameter to <a
* href="https://stripe.com/payments/save-during-payment">attach the payment method</a> to the
* Customer after the PaymentIntent is confirmed and the customer completes any required
* actions. If you don't provide a Customer, you can still <a
* href="https://stripe.com/api/payment_methods/attach">attach</a> the payment method to a
* Customer after the transaction completes.
*
* <p>If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
* and attaches a <a
* href="https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card">generated_card</a>
* payment method representing the card to the Customer instead.
*
* <p>When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
* with regional legislation and network rules, such as <a
* href="https://stripe.com/strong-customer-authentication">SCA</a>.
*
* <p>Equal to {@code none}.
*/
@SerializedName("setup_future_usage")
String setupFutureUsage;
}

/**
* For more details about Grabpay, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
Expand Down Expand Up @@ -5044,6 +5086,39 @@ public static class Promptpay extends StripeObject {
String setupFutureUsage;
}

/**
* For more details about Qris, please refer to the <a href="https://docs.stripe.com/api">API
* Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Qris extends StripeObject {
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* <p>If you provide a Customer with the PaymentIntent, you can use this parameter to <a
* href="https://stripe.com/payments/save-during-payment">attach the payment method</a> to the
* Customer after the PaymentIntent is confirmed and the customer completes any required
* actions. If you don't provide a Customer, you can still <a
* href="https://stripe.com/api/payment_methods/attach">attach</a> the payment method to a
* Customer after the transaction completes.
*
* <p>If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
* and attaches a <a
* href="https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card">generated_card</a>
* payment method representing the card to the Customer instead.
*
* <p>When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
* with regional legislation and network rules, such as <a
* href="https://stripe.com/strong-customer-authentication">SCA</a>.
*
* <p>Equal to {@code none}.
*/
@SerializedName("setup_future_usage")
String setupFutureUsage;
}

/**
* For more details about Rechnung, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down Expand Up @@ -5156,6 +5231,39 @@ public static class SepaDebit extends StripeObject {
public static class MandateOptions extends StripeObject {}
}

/**
* For more details about Shopeepay, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Shopeepay extends StripeObject {
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
* <p>If you provide a Customer with the PaymentIntent, you can use this parameter to <a
* href="https://stripe.com/payments/save-during-payment">attach the payment method</a> to the
* Customer after the PaymentIntent is confirmed and the customer completes any required
* actions. If you don't provide a Customer, you can still <a
* href="https://stripe.com/api/payment_methods/attach">attach</a> the payment method to a
* Customer after the transaction completes.
*
* <p>If the payment method is {@code card_present} and isn't a digital wallet, Stripe creates
* and attaches a <a
* href="https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card">generated_card</a>
* payment method representing the card to the Customer instead.
*
* <p>When processing card payments, Stripe uses {@code setup_future_usage} to help you comply
* with regional legislation and network rules, such as <a
* href="https://stripe.com/strong-customer-authentication">SCA</a>.
*
* <p>Equal to {@code none}.
*/
@SerializedName("setup_future_usage")
String setupFutureUsage;
}

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

0 comments on commit bdb5085

Please sign in to comment.