Package com.stripe.param
Class PaymentLinkUpdateParams.AfterCompletion.Builder
java.lang.Object
com.stripe.param.PaymentLinkUpdateParams.AfterCompletion.Builder
- Enclosing class:
- PaymentLinkUpdateParams.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
(PaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.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. SeePaymentLinkUpdateParams.AfterCompletion.extraParams
for the field documentation. -
setHostedConfirmation
public PaymentLinkUpdateParams.AfterCompletion.Builder setHostedConfirmation(PaymentLinkUpdateParams.AfterCompletion.HostedConfirmation hostedConfirmation) Configuration whentype=hosted_confirmation
. -
setRedirect
public PaymentLinkUpdateParams.AfterCompletion.Builder setRedirect(PaymentLinkUpdateParams.AfterCompletion.Redirect redirect) Configuration whentype=redirect
. -
setType
public PaymentLinkUpdateParams.AfterCompletion.Builder setType(PaymentLinkUpdateParams.AfterCompletion.Type type) Required. The specified behavior after the purchase is complete. Eitherredirect
orhosted_confirmation
.
-