Skip to content

Commit d76015b

Browse files
Update generated code for v2227 and
1 parent fd3b836 commit d76015b

12 files changed

Lines changed: 5981 additions & 34 deletions

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7b22d6e1f823d04f07ff85ac73e4971ac423ac3b
1+
a7c1f8b92224a3090c0ff7519ae9c6ff8c46ce40

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2223
1+
v2227

src/main/java/com/stripe/model/PaymentIntentAmountDetailsLineItem.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ public class PaymentIntentAmountDetailsLineItem extends ApiResource implements H
6666
@SerializedName("quantity")
6767
Long quantity;
6868

69+
/**
70+
* The number of decimal places implied in the quantity. For example, if quantity is 10000 and
71+
* quantity_precision is 2, the actual quantity is 100.00. Defaults to 0 if not provided.
72+
*/
73+
@SerializedName("quantity_precision")
74+
Long quantityPrecision;
75+
6976
/** Contains information about the tax on the item. */
7077
@SerializedName("tax")
7178
Tax tax;

src/main/java/com/stripe/model/sharedpayment/GrantedToken.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ public static class PaymentMethodDetails extends StripeObject {
328328
@SerializedName("stripe_balance")
329329
StripeBalance stripeBalance;
330330

331+
@SerializedName("sunbit")
332+
Sunbit sunbit;
333+
331334
@SerializedName("swish")
332335
Swish swish;
333336

@@ -350,8 +353,8 @@ public static class PaymentMethodDetails extends StripeObject {
350353
* pay_by_bank}, {@code payco}, {@code paynow}, {@code paypal}, {@code paypay}, {@code payto},
351354
* {@code pix}, {@code promptpay}, {@code qris}, {@code rechnung}, {@code revolut_pay}, {@code
352355
* samsung_pay}, {@code satispay}, {@code sepa_debit}, {@code shopeepay}, {@code sofort}, {@code
353-
* stripe_balance}, {@code swish}, {@code twint}, {@code upi}, {@code us_bank_account}, {@code
354-
* wechat_pay}, or {@code zip}.
356+
* stripe_balance}, {@code sunbit}, {@code swish}, {@code twint}, {@code upi}, {@code
357+
* us_bank_account}, {@code wechat_pay}, or {@code zip}.
355358
*/
356359
@SerializedName("type")
357360
String type;
@@ -1881,6 +1884,15 @@ public static class StripeBalance extends StripeObject {
18811884
String account;
18821885
}
18831886

1887+
/**
1888+
* For more details about Sunbit, please refer to the <a href="https://docs.stripe.com/api">API
1889+
* Reference.</a>
1890+
*/
1891+
@Getter
1892+
@Setter
1893+
@EqualsAndHashCode(callSuper = false)
1894+
public static class Sunbit extends StripeObject {}
1895+
18841896
/**
18851897
* For more details about Swish, please refer to the <a href="https://docs.stripe.com/api">API
18861898
* Reference.</a>

0 commit comments

Comments
 (0)