Package com.stripe.param
Class PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation.Builder
- Enclosing class:
- PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation
public static class PaymentLinkUpdateParams.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
(EmptyParam customMessage) A custom message to display to the customer after the purchase is complete.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 PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation.Builder setCustomMessage(String customMessage) A custom message to display to the customer after the purchase is complete. -
setCustomMessage
public PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation.Builder setCustomMessage(EmptyParam customMessage) A custom message to display to the customer after the purchase is complete. -
putExtraParam
public PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.AfterCompletion.HostedConfirmation.extraParams
for the field documentation. -
putAllExtraParam
public PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation.Builder putAllExtraParam(Map<String, Object> map)
-