@@ -88,6 +88,9 @@ public class PaymentMethod extends ApiResource implements HasId, MetadataStore<P
88
88
@ SerializedName ("interac_present" )
89
89
InteracPresent interacPresent ;
90
90
91
+ @ SerializedName ("klarna" )
92
+ Klarna klarna ;
93
+
91
94
/**
92
95
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
93
96
* object exists in test mode.
@@ -131,8 +134,8 @@ public class PaymentMethod extends ApiResource implements HasId, MetadataStore<P
131
134
* <p>One of {@code acss_debit}, {@code afterpay_clearpay}, {@code alipay}, {@code au_becs_debit},
132
135
* {@code bacs_debit}, {@code bancontact}, {@code boleto}, {@code card}, {@code card_present},
133
136
* {@code eps}, {@code fpx}, {@code giropay}, {@code grabpay}, {@code ideal}, {@code
134
- * interac_present}, {@code oxxo }, {@code p24 }, {@code sepa_debit }, {@code sofort}, or {@code
135
- * wechat_pay}.
137
+ * interac_present}, {@code klarna }, {@code oxxo }, {@code p24 }, {@code sepa_debit}, {@code
138
+ * sofort}, or {@code wechat_pay}.
136
139
*/
137
140
@ SerializedName ("type" )
138
141
String type ;
@@ -917,6 +920,32 @@ public static class Ideal extends StripeObject {
917
920
@ EqualsAndHashCode (callSuper = false )
918
921
public static class InteracPresent extends StripeObject {}
919
922
923
+ @ Getter
924
+ @ Setter
925
+ @ EqualsAndHashCode (callSuper = false )
926
+ public static class Klarna extends StripeObject {
927
+ /** The customer's date of birth, if provided. */
928
+ @ SerializedName ("dob" )
929
+ DateOfBirth dob ;
930
+
931
+ @ Getter
932
+ @ Setter
933
+ @ EqualsAndHashCode (callSuper = false )
934
+ public static class DateOfBirth extends StripeObject {
935
+ /** The day of birth, between 1 and 31. */
936
+ @ SerializedName ("day" )
937
+ Long day ;
938
+
939
+ /** The month of birth, between 1 and 12. */
940
+ @ SerializedName ("month" )
941
+ Long month ;
942
+
943
+ /** The four-digit year of birth. */
944
+ @ SerializedName ("year" )
945
+ Long year ;
946
+ }
947
+ }
948
+
920
949
@ Getter
921
950
@ Setter
922
951
@ EqualsAndHashCode (callSuper = false )
0 commit comments