Package com.stripe.param
Class AccountSessionCreateParams.Components.PaymentDetails.Features.Builder
java.lang.Object
com.stripe.param.AccountSessionCreateParams.Components.PaymentDetails.Features.Builder
- Enclosing class:
- AccountSessionCreateParams.Components.PaymentDetails.Features
public static class AccountSessionCreateParams.Components.PaymentDetails.Features.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setCapturePayments
(Boolean capturePayments) Whether to allow capturing and cancelling payment intents.setDestinationOnBehalfOfChargeManagement
(Boolean destinationOnBehalfOfChargeManagement) Whether to allow connected accounts to manage destination charges that are created on behalf of them.setDisputeManagement
(Boolean disputeManagement) Whether to allow responding to disputes, including submitting evidence and accepting disputes.setRefundManagement
(Boolean refundManagement) Whether to allow sending refunds.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCapturePayments
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder setCapturePayments(Boolean capturePayments) Whether to allow capturing and cancelling payment intents. This istrue
by default. -
setDestinationOnBehalfOfChargeManagement
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder setDestinationOnBehalfOfChargeManagement(Boolean destinationOnBehalfOfChargeManagement) Whether to allow connected accounts to manage destination charges that are created on behalf of them. This isfalse
by default. -
setDisputeManagement
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder setDisputeManagement(Boolean disputeManagement) Whether to allow responding to disputes, including submitting evidence and accepting disputes. This istrue
by default. -
putExtraParam
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountSessionCreateParams.Components.PaymentDetails.Features.extraParams
for the field documentation. -
putAllExtraParam
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAccountSessionCreateParams.Components.PaymentDetails.Features.extraParams
for the field documentation. -
setRefundManagement
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder setRefundManagement(Boolean refundManagement) Whether to allow sending refunds. This istrue
by default.
-