Package com.stripe.param
Class AccountSessionCreateParams.Components.Payments.Features.Builder
java.lang.Object
com.stripe.param.AccountSessionCreateParams.Components.Payments.Features.Builder
- Enclosing class:
- AccountSessionCreateParams.Components.Payments.Features
-
Constructor Summary
Constructors -
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 connected accounts can manage destination charges that are created on behalf of them.setDisputeManagement
(Boolean disputeManagement) Whether responding to disputes is enabled, including submitting evidence and accepting disputes.setRefundManagement
(Boolean refundManagement) Whether sending refunds is enabled.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCapturePayments
public AccountSessionCreateParams.Components.Payments.Features.Builder setCapturePayments(Boolean capturePayments) Whether to allow capturing and cancelling payment intents. This istrue
by default. -
setDestinationOnBehalfOfChargeManagement
public AccountSessionCreateParams.Components.Payments.Features.Builder setDestinationOnBehalfOfChargeManagement(Boolean destinationOnBehalfOfChargeManagement) Whether connected accounts can manage destination charges that are created on behalf of them. This isfalse
by default. -
setDisputeManagement
public AccountSessionCreateParams.Components.Payments.Features.Builder setDisputeManagement(Boolean disputeManagement) Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This istrue
by default. -
putExtraParam
public AccountSessionCreateParams.Components.Payments.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.Payments.Features.extraParams
for the field documentation. -
putAllExtraParam
public AccountSessionCreateParams.Components.Payments.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.Payments.Features.extraParams
for the field documentation. -
setRefundManagement
public AccountSessionCreateParams.Components.Payments.Features.Builder setRefundManagement(Boolean refundManagement) Whether sending refunds is enabled. This istrue
by default.
-