Package com.stripe.param
Class PaymentLinkCreateParams.AfterCompletion.Builder
- java.lang.Object
-
- com.stripe.param.PaymentLinkCreateParams.AfterCompletion.Builder
-
- Enclosing class:
- PaymentLinkCreateParams.AfterCompletion
public static class PaymentLinkCreateParams.AfterCompletion.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public PaymentLinkCreateParams.AfterCompletion build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public PaymentLinkCreateParams.AfterCompletion.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.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentLinkCreateParams.AfterCompletion.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeePaymentLinkCreateParams.AfterCompletion.extraParams
for the field documentation.
-
setHostedConfirmation
public PaymentLinkCreateParams.AfterCompletion.Builder setHostedConfirmation(PaymentLinkCreateParams.AfterCompletion.HostedConfirmation hostedConfirmation)
Configuration whentype=hosted_confirmation
.
-
setRedirect
public PaymentLinkCreateParams.AfterCompletion.Builder setRedirect(PaymentLinkCreateParams.AfterCompletion.Redirect redirect)
Configuration whentype=redirect
.
-
setType
public PaymentLinkCreateParams.AfterCompletion.Builder setType(PaymentLinkCreateParams.AfterCompletion.Type type)
The specified behavior after the purchase is complete. Eitherredirect
orhosted_confirmation
.
-
-