@@ -350,6 +350,9 @@ public static class PaymentMethodPreview extends StripeObject {
350350 @ SerializedName ("fpx" )
351351 Fpx fpx ;
352352
353+ @ SerializedName ("gift_card" )
354+ GiftCard giftCard ;
355+
353356 @ SerializedName ("giropay" )
354357 Giropay giropay ;
355358
@@ -473,14 +476,14 @@ public static class PaymentMethodPreview extends StripeObject {
473476 * {@code alma}, {@code amazon_pay}, {@code au_becs_debit}, {@code bacs_debit}, {@code
474477 * bancontact}, {@code billie}, {@code blik}, {@code boleto}, {@code card}, {@code
475478 * card_present}, {@code cashapp}, {@code crypto}, {@code custom}, {@code customer_balance},
476- * {@code eps}, {@code fpx}, {@code giropay }, {@code gopay }, {@code grabpay }, {@code
477- * id_bank_transfer}, {@code ideal}, {@code interac_present}, {@code kakao_pay}, {@code klarna},
478- * {@code konbini}, {@code kr_card}, {@code link}, {@code mb_way}, {@code mobilepay}, {@code
479- * multibanco}, {@code naver_pay}, {@code nz_bank_account}, {@code oxxo}, {@code p24}, {@code
480- * pay_by_bank}, {@code payco}, {@code paynow}, {@code paypal}, {@code paypay}, {@code payto},
481- * {@code pix}, {@code promptpay}, {@code qris}, {@code rechnung}, {@code revolut_pay}, {@code
482- * samsung_pay}, {@code satispay}, {@code sepa_debit}, {@code shopeepay}, {@code sofort}, {@code
483- * stripe_balance}, {@code sunbit}, {@code swish}, {@code twint}, {@code upi}, {@code
479+ * {@code eps}, {@code fpx}, {@code gift_card }, {@code giropay }, {@code gopay }, {@code grabpay},
480+ * {@code id_bank_transfer}, {@code ideal}, {@code interac_present}, {@code kakao_pay}, {@code
481+ * klarna}, {@code konbini}, {@code kr_card}, {@code link}, {@code mb_way}, {@code mobilepay},
482+ * {@code multibanco}, {@code naver_pay}, {@code nz_bank_account}, {@code oxxo}, {@code p24},
483+ * {@code pay_by_bank}, {@code payco}, {@code paynow}, {@code paypal}, {@code paypay}, {@code
484+ * payto}, {@code pix}, {@code promptpay}, {@code qris}, {@code rechnung}, {@code revolut_pay},
485+ * {@code samsung_pay}, {@code satispay}, {@code sepa_debit}, {@code shopeepay}, {@code sofort},
486+ * {@code stripe_balance}, {@code sunbit}, {@code swish}, {@code twint}, {@code upi}, {@code
484487 * us_bank_account}, {@code wechat_pay}, or {@code zip}.
485488 */
486489 @ SerializedName ("type" )
@@ -1738,6 +1741,43 @@ public static class Fpx extends StripeObject {
17381741 String bank ;
17391742 }
17401743
1744+ /**
1745+ * For more details about GiftCard, please refer to the <a
1746+ * href="https://docs.stripe.com/api">API Reference.</a>
1747+ */
1748+ @ Getter
1749+ @ Setter
1750+ @ EqualsAndHashCode (callSuper = false )
1751+ public static class GiftCard extends StripeObject {
1752+ /**
1753+ * The brand of the gift card.
1754+ *
1755+ * <p>One of {@code fiserv_valuelink}, {@code givex}, or {@code svs}.
1756+ */
1757+ @ SerializedName ("brand" )
1758+ String brand ;
1759+
1760+ /** The expiration month of the gift card. */
1761+ @ SerializedName ("exp_month" )
1762+ Long expMonth ;
1763+
1764+ /** The expiration year of the gift card. */
1765+ @ SerializedName ("exp_year" )
1766+ Long expYear ;
1767+
1768+ /** Uniquely identifies the gift card. */
1769+ @ SerializedName ("fingerprint" )
1770+ String fingerprint ;
1771+
1772+ /** The first six digits of the gift card number. */
1773+ @ SerializedName ("first6" )
1774+ String first6 ;
1775+
1776+ /** The last four digits of the gift card number. */
1777+ @ SerializedName ("last4" )
1778+ String last4 ;
1779+ }
1780+
17411781 /**
17421782 * For more details about Giropay, please refer to the <a href="https://docs.stripe.com/api">API
17431783 * Reference.</a>
0 commit comments