Class PaymentLinkCreateParams.AfterCompletion.Redirect

java.lang.Object
com.stripe.param.PaymentLinkCreateParams.AfterCompletion.Redirect
Enclosing class:
PaymentLinkCreateParams.AfterCompletion

public static class PaymentLinkCreateParams.AfterCompletion.Redirect extends Object
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. See PaymentLinkCreateParams.AfterCompletion.HostedConfirmation.extraParams for the field documentation.
  • Method Details

    • builder

    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getUrl

      public String getUrl()
      Required. The URL the customer will be redirected to after the purchase is complete. You can embed {CHECKOUT_SESSION_ID} into the URL to have the id of the completed checkout session included.