Package com.stripe.param
Class PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder
- Enclosing class:
- PaymentLinkCreateParams.AfterCompletion.HostedConfirmation
public static class PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setCustomMessage
(String customMessage) A custom message to display to the customer after the purchase is complete.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCustomMessage
public PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder setCustomMessage(String customMessage) A custom message to display to the customer after the purchase is complete. -
putExtraParam
public PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.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. SeePaymentLinkCreateParams.AfterCompletion.HostedConfirmation.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder putAllExtraParam(Map<String, Object> map)
-