@@ -30,15 +30,7 @@ public class PaymentIntentCreateParams extends ApiRequestParams {
30
30
@ SerializedName ("application_fee_amount" )
31
31
Long applicationFeeAmount ;
32
32
33
- /**
34
- * One of `automatic` (default) or `manual`.
35
- *
36
- * <p>When the capture method is `automatic`, Stripe automatically captures funds when the
37
- * customer authorizes the payment.
38
- *
39
- * <p>Change `capture_method` to manual if you wish to use [separate authorization and
40
- * capture](https://stripe.com/docs/payments/capture-later) for payment methods that support this.
41
- */
33
+ /** Controls when the funds will be captured from the customer's account. */
42
34
@ SerializedName ("capture_method" )
43
35
CaptureMethod captureMethod ;
44
36
@@ -51,18 +43,6 @@ public class PaymentIntentCreateParams extends ApiRequestParams {
51
43
@ SerializedName ("confirm" )
52
44
Boolean confirm ;
53
45
54
- /**
55
- * One of `automatic` (default) or `manual`.
56
- *
57
- * <p>When the confirmation method is `automatic`, a PaymentIntent can be confirmed using a
58
- * publishable key. After `next_action`s are handled, no additional confirmation is required to
59
- * complete the payment.
60
- *
61
- * <p>When the confirmation method is `manual`, all payment attempts must be made using a secret
62
- * key. The PaymentIntent returns to the `requires_confirmation` state after handling
63
- * `next_action`s, and requires your server to initiate each payment attempt with an explicit
64
- * confirmation.
65
- */
66
46
@ SerializedName ("confirmation_method" )
67
47
ConfirmationMethod confirmationMethod ;
68
48
@@ -201,9 +181,7 @@ public class PaymentIntentCreateParams extends ApiRequestParams {
201
181
* [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer, even after the
202
182
* transaction completes.
203
183
*
204
- * <p>Use `on_session` if you intend to only reuse the payment method when your customer is
205
- * present in your checkout flow. Use `off_session` if your customer may or may not be in your
206
- * checkout flow. For more, learn to [save card details after a
184
+ * <p>For more, learn to [save card details after a
207
185
* payment](https://stripe.com/docs/payments/save-after-payment).
208
186
*
209
187
* <p>Stripe uses `setup_future_usage` to dynamically optimize your payment flow and comply with
@@ -454,16 +432,7 @@ public Builder setApplicationFeeAmount(Long applicationFeeAmount) {
454
432
return this ;
455
433
}
456
434
457
- /**
458
- * One of `automatic` (default) or `manual`.
459
- *
460
- * <p>When the capture method is `automatic`, Stripe automatically captures funds when the
461
- * customer authorizes the payment.
462
- *
463
- * <p>Change `capture_method` to manual if you wish to use [separate authorization and
464
- * capture](https://stripe.com/docs/payments/capture-later) for payment methods that support
465
- * this.
466
- */
435
+ /** Controls when the funds will be captured from the customer's account. */
467
436
public Builder setCaptureMethod (CaptureMethod captureMethod ) {
468
437
this .captureMethod = captureMethod ;
469
438
return this ;
@@ -480,18 +449,6 @@ public Builder setConfirm(Boolean confirm) {
480
449
return this ;
481
450
}
482
451
483
- /**
484
- * One of `automatic` (default) or `manual`.
485
- *
486
- * <p>When the confirmation method is `automatic`, a PaymentIntent can be confirmed using a
487
- * publishable key. After `next_action`s are handled, no additional confirmation is required to
488
- * complete the payment.
489
- *
490
- * <p>When the confirmation method is `manual`, all payment attempts must be made using a secret
491
- * key. The PaymentIntent returns to the `requires_confirmation` state after handling
492
- * `next_action`s, and requires your server to initiate each payment attempt with an explicit
493
- * confirmation.
494
- */
495
452
public Builder setConfirmationMethod (ConfirmationMethod confirmationMethod ) {
496
453
this .confirmationMethod = confirmationMethod ;
497
454
return this ;
@@ -746,9 +703,7 @@ public Builder setSavePaymentMethod(Boolean savePaymentMethod) {
746
703
* [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer, even after the
747
704
* transaction completes.
748
705
*
749
- * <p>Use `on_session` if you intend to only reuse the payment method when your customer is
750
- * present in your checkout flow. Use `off_session` if your customer may or may not be in your
751
- * checkout flow. For more, learn to [save card details after a
706
+ * <p>For more, learn to [save card details after a
752
707
* payment](https://stripe.com/docs/payments/save-after-payment).
753
708
*
754
709
* <p>Stripe uses `setup_future_usage` to dynamically optimize your payment flow and comply with
0 commit comments