@@ -1085,6 +1085,15 @@ public static class PaymentMethodOptions extends StripeObject {
1085
1085
@ Setter
1086
1086
@ EqualsAndHashCode (callSuper = false )
1087
1087
public static class Card extends StripeObject {
1088
+ /**
1089
+ * Installment details for this payment (Mexico only).
1090
+ *
1091
+ * <p>For more information, see the [installments integration
1092
+ * guide](https://stripe.com/docs/payments/installments).
1093
+ */
1094
+ @ SerializedName ("installments" )
1095
+ Installments installments ;
1096
+
1088
1097
/**
1089
1098
* We strongly recommend that you rely on our SCA Engine to automatically prompt your
1090
1099
* customers for authentication based on risk level and [other
@@ -1097,6 +1106,46 @@ public static class Card extends StripeObject {
1097
1106
*/
1098
1107
@ SerializedName ("request_three_d_secure" )
1099
1108
String requestThreeDSecure ;
1109
+
1110
+ @ Getter
1111
+ @ Setter
1112
+ @ EqualsAndHashCode (callSuper = false )
1113
+ public static class Installments extends StripeObject {
1114
+ /** Installment plans that may be selected for this PaymentIntent. */
1115
+ @ SerializedName ("available_plans" )
1116
+ List <PaymentIntent .PaymentMethodOptions .Card .Installments .Plan > availablePlans ;
1117
+
1118
+ /** Whether Installments are enabled for this PaymentIntent. */
1119
+ @ SerializedName ("enabled" )
1120
+ Boolean enabled ;
1121
+
1122
+ /** Installment plan selected for this PaymentIntent. */
1123
+ @ SerializedName ("plan" )
1124
+ Plan plan ;
1125
+
1126
+ @ Getter
1127
+ @ Setter
1128
+ @ EqualsAndHashCode (callSuper = false )
1129
+ public static class Plan extends StripeObject {
1130
+ /**
1131
+ * For `fixed_count` installment plans, this is the number of installment payments your
1132
+ * customer will make to their credit card.
1133
+ */
1134
+ @ SerializedName ("count" )
1135
+ Long count ;
1136
+
1137
+ /**
1138
+ * For `fixed_count` installment plans, this is the interval between installment payments
1139
+ * your customer will make to their credit card. One of `month`.
1140
+ */
1141
+ @ SerializedName ("interval" )
1142
+ String interval ;
1143
+
1144
+ /** Type of installment plan, one of `fixed_count`. */
1145
+ @ SerializedName ("type" )
1146
+ String type ;
1147
+ }
1148
+ }
1100
1149
}
1101
1150
}
1102
1151
0 commit comments