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
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.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 istrueby default. -
setDisputeManagement
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder setDisputeManagement(Boolean disputeManagement) Whether to allow responding to disputes, including submitting evidence and accepting disputes. This istrueby 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.extraParamsfor 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.extraParamsfor the field documentation. -
setRefundManagement
public AccountSessionCreateParams.Components.PaymentDetails.Features.Builder setRefundManagement(Boolean refundManagement) Whether to allow sending refunds. This istrueby default.
-