Package com.stripe.param
Class PaymentLinkCreateParams.AfterCompletion.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.AfterCompletion.Builder
- Enclosing class:
- PaymentLinkCreateParams.AfterCompletion
-
Constructor Summary
-
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.setHostedConfirmation
(PaymentLinkCreateParams.AfterCompletion.HostedConfirmation hostedConfirmation) Configuration whentype=hosted_confirmation
.Configuration whentype=redirect
.Required. The specified behavior after the purchase is complete.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
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
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) Required. The specified behavior after the purchase is complete. Eitherredirect
orhosted_confirmation
.
-