@@ -1497,7 +1497,73 @@ public static class Alma extends StripeObject {}
1497
1497
@ Getter
1498
1498
@ Setter
1499
1499
@ EqualsAndHashCode (callSuper = false )
1500
- public static class AmazonPay extends StripeObject {}
1500
+ public static class AmazonPay extends StripeObject {
1501
+ @ SerializedName ("funding" )
1502
+ Funding funding ;
1503
+
1504
+ /**
1505
+ * For more details about Funding, please refer to the <a
1506
+ * href="https://docs.stripe.com/api">API Reference.</a>
1507
+ */
1508
+ @ Getter
1509
+ @ Setter
1510
+ @ EqualsAndHashCode (callSuper = false )
1511
+ public static class Funding extends StripeObject {
1512
+ @ SerializedName ("card" )
1513
+ Card card ;
1514
+
1515
+ /**
1516
+ * funding type of the underlying payment method.
1517
+ *
1518
+ * <p>Equal to {@code card}.
1519
+ */
1520
+ @ SerializedName ("type" )
1521
+ String type ;
1522
+
1523
+ /**
1524
+ * For more details about Card, please refer to the <a
1525
+ * href="https://docs.stripe.com/api">API Reference.</a>
1526
+ */
1527
+ @ Getter
1528
+ @ Setter
1529
+ @ EqualsAndHashCode (callSuper = false )
1530
+ public static class Card extends StripeObject {
1531
+ /**
1532
+ * Card brand. Can be {@code amex}, {@code diners}, {@code discover}, {@code eftpos_au},
1533
+ * {@code jcb}, {@code link}, {@code mastercard}, {@code unionpay}, {@code visa}, or
1534
+ * {@code unknown}.
1535
+ */
1536
+ @ SerializedName ("brand" )
1537
+ String brand ;
1538
+
1539
+ /**
1540
+ * Two-letter ISO code representing the country of the card. You could use this attribute
1541
+ * to get a sense of the international breakdown of cards you've collected.
1542
+ */
1543
+ @ SerializedName ("country" )
1544
+ String country ;
1545
+
1546
+ /** Two-digit number representing the card's expiration month. */
1547
+ @ SerializedName ("exp_month" )
1548
+ Long expMonth ;
1549
+
1550
+ /** Four-digit number representing the card's expiration year. */
1551
+ @ SerializedName ("exp_year" )
1552
+ Long expYear ;
1553
+
1554
+ /**
1555
+ * Card funding type. Can be {@code credit}, {@code debit}, {@code prepaid}, or {@code
1556
+ * unknown}.
1557
+ */
1558
+ @ SerializedName ("funding" )
1559
+ String funding ;
1560
+
1561
+ /** The last four digits of the card. */
1562
+ @ SerializedName ("last4" )
1563
+ String last4 ;
1564
+ }
1565
+ }
1566
+ }
1501
1567
1502
1568
/**
1503
1569
* For more details about AuBecsDebit, please refer to the <a
@@ -3445,7 +3511,73 @@ public static class Rechnung extends StripeObject {}
3445
3511
@ Getter
3446
3512
@ Setter
3447
3513
@ EqualsAndHashCode (callSuper = false )
3448
- public static class RevolutPay extends StripeObject {}
3514
+ public static class RevolutPay extends StripeObject {
3515
+ @ SerializedName ("funding" )
3516
+ Funding funding ;
3517
+
3518
+ /**
3519
+ * For more details about Funding, please refer to the <a
3520
+ * href="https://docs.stripe.com/api">API Reference.</a>
3521
+ */
3522
+ @ Getter
3523
+ @ Setter
3524
+ @ EqualsAndHashCode (callSuper = false )
3525
+ public static class Funding extends StripeObject {
3526
+ @ SerializedName ("card" )
3527
+ Card card ;
3528
+
3529
+ /**
3530
+ * funding type of the underlying payment method.
3531
+ *
3532
+ * <p>Equal to {@code card}.
3533
+ */
3534
+ @ SerializedName ("type" )
3535
+ String type ;
3536
+
3537
+ /**
3538
+ * For more details about Card, please refer to the <a
3539
+ * href="https://docs.stripe.com/api">API Reference.</a>
3540
+ */
3541
+ @ Getter
3542
+ @ Setter
3543
+ @ EqualsAndHashCode (callSuper = false )
3544
+ public static class Card extends StripeObject {
3545
+ /**
3546
+ * Card brand. Can be {@code amex}, {@code diners}, {@code discover}, {@code eftpos_au},
3547
+ * {@code jcb}, {@code link}, {@code mastercard}, {@code unionpay}, {@code visa}, or
3548
+ * {@code unknown}.
3549
+ */
3550
+ @ SerializedName ("brand" )
3551
+ String brand ;
3552
+
3553
+ /**
3554
+ * Two-letter ISO code representing the country of the card. You could use this attribute
3555
+ * to get a sense of the international breakdown of cards you've collected.
3556
+ */
3557
+ @ SerializedName ("country" )
3558
+ String country ;
3559
+
3560
+ /** Two-digit number representing the card's expiration month. */
3561
+ @ SerializedName ("exp_month" )
3562
+ Long expMonth ;
3563
+
3564
+ /** Four-digit number representing the card's expiration year. */
3565
+ @ SerializedName ("exp_year" )
3566
+ Long expYear ;
3567
+
3568
+ /**
3569
+ * Card funding type. Can be {@code credit}, {@code debit}, {@code prepaid}, or {@code
3570
+ * unknown}.
3571
+ */
3572
+ @ SerializedName ("funding" )
3573
+ String funding ;
3574
+
3575
+ /** The last four digits of the card. */
3576
+ @ SerializedName ("last4" )
3577
+ String last4 ;
3578
+ }
3579
+ }
3580
+ }
3449
3581
3450
3582
/**
3451
3583
* For more details about SamsungPay, please refer to the <a
0 commit comments