@@ -135,6 +135,9 @@ public static class Components extends StripeObject {
135135 @ SerializedName ("balances" )
136136 Balances balances ;
137137
138+ @ SerializedName ("disputes_list" )
139+ DisputesList disputesList ;
140+
138141 @ SerializedName ("documents" )
139142 Documents documents ;
140143
@@ -156,6 +159,9 @@ public static class Components extends StripeObject {
156159 @ SerializedName ("payment_details" )
157160 PaymentDetails paymentDetails ;
158161
162+ @ SerializedName ("payment_disputes" )
163+ PaymentDisputes paymentDisputes ;
164+
159165 @ SerializedName ("payments" )
160166 Payments payments ;
161167
@@ -327,6 +333,56 @@ public static class Features extends StripeObject {
327333 }
328334 }
329335
336+ /**
337+ * For more details about DisputesList, please refer to the <a
338+ * href="https://docs.stripe.com/api">API Reference.</a>
339+ */
340+ @ Getter
341+ @ Setter
342+ @ EqualsAndHashCode (callSuper = false )
343+ public static class DisputesList extends StripeObject {
344+ /** Whether the embedded component is enabled. */
345+ @ SerializedName ("enabled" )
346+ Boolean enabled ;
347+
348+ @ SerializedName ("features" )
349+ Features features ;
350+
351+ /**
352+ * For more details about Features, please refer to the <a
353+ * href="https://docs.stripe.com/api">API Reference.</a>
354+ */
355+ @ Getter
356+ @ Setter
357+ @ EqualsAndHashCode (callSuper = false )
358+ public static class Features extends StripeObject {
359+ /**
360+ * Whether to allow capturing and cancelling payment intents. This is {@code true} by
361+ * default.
362+ */
363+ @ SerializedName ("capture_payments" )
364+ Boolean capturePayments ;
365+
366+ /**
367+ * Whether to allow connected accounts to manage destination charges that are created on
368+ * behalf of them. This is {@code false} by default.
369+ */
370+ @ SerializedName ("destination_on_behalf_of_charge_management" )
371+ Boolean destinationOnBehalfOfChargeManagement ;
372+
373+ /**
374+ * Whether to allow responding to disputes, including submitting evidence and accepting
375+ * disputes. This is {@code true} by default.
376+ */
377+ @ SerializedName ("dispute_management" )
378+ Boolean disputeManagement ;
379+
380+ /** Whether to allow sending refunds. This is {@code true} by default. */
381+ @ SerializedName ("refund_management" )
382+ Boolean refundManagement ;
383+ }
384+ }
385+
330386 /**
331387 * For more details about Documents, please refer to the <a
332388 * href="https://docs.stripe.com/api">API Reference.</a>
@@ -613,6 +669,49 @@ public static class Features extends StripeObject {
613669 }
614670 }
615671
672+ /**
673+ * For more details about PaymentDisputes, please refer to the <a
674+ * href="https://docs.stripe.com/api">API Reference.</a>
675+ */
676+ @ Getter
677+ @ Setter
678+ @ EqualsAndHashCode (callSuper = false )
679+ public static class PaymentDisputes extends StripeObject {
680+ /** Whether the embedded component is enabled. */
681+ @ SerializedName ("enabled" )
682+ Boolean enabled ;
683+
684+ @ SerializedName ("features" )
685+ Features features ;
686+
687+ /**
688+ * For more details about Features, please refer to the <a
689+ * href="https://docs.stripe.com/api">API Reference.</a>
690+ */
691+ @ Getter
692+ @ Setter
693+ @ EqualsAndHashCode (callSuper = false )
694+ public static class Features extends StripeObject {
695+ /**
696+ * Whether to allow connected accounts to manage destination charges that are created on
697+ * behalf of them. This is {@code false} by default.
698+ */
699+ @ SerializedName ("destination_on_behalf_of_charge_management" )
700+ Boolean destinationOnBehalfOfChargeManagement ;
701+
702+ /**
703+ * Whether to allow responding to disputes, including submitting evidence and accepting
704+ * disputes. This is {@code true} by default.
705+ */
706+ @ SerializedName ("dispute_management" )
707+ Boolean disputeManagement ;
708+
709+ /** Whether to allow sending refunds. This is {@code true} by default. */
710+ @ SerializedName ("refund_management" )
711+ Boolean refundManagement ;
712+ }
713+ }
714+
616715 /**
617716 * For more details about Payments, please refer to the <a
618717 * href="https://docs.stripe.com/api">API Reference.</a>
0 commit comments