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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentLinkCreateParams.AfterCompletion.HostedConfirmation
build()
Finalize and obtain parameter instance from this builder.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder
setCustomMessage(java.lang.String customMessage)
A custom message to display to the customer after the purchase is complete.
-
-
-
Method Detail
-
build
public PaymentLinkCreateParams.AfterCompletion.HostedConfirmation build()
Finalize and obtain parameter instance from this builder.
-
setCustomMessage
public PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder setCustomMessage(java.lang.String customMessage)
A custom message to display to the customer after the purchase is complete.
-
putExtraParam
public PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.Builder putExtraParam(java.lang.String key, java.lang.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(java.util.Map<java.lang.String,java.lang.Object> map)
-
-