Class UcpRoutes

java.lang.Object
io.deeplumen.ucp.helpers.UcpRoutes

public final class UcpRoutes extends Object
Common UCP HTTP route paths.

These are provided as optional string constants. They do not enforce any routing behavior, versioning policy, or server-specific compatibility aliases.

Usage:


 URI wellKnown = baseUri.resolve(UcpRoutes.WELL_KNOWN_UCP);
 URI complete = baseUri.resolve(UcpRoutes.checkoutSessionComplete(checkoutId));
 
  • Field Details

  • Method Details

    • checkoutSessionById

      public static String checkoutSessionById(String checkoutId)
    • checkoutSessionComplete

      public static String checkoutSessionComplete(String checkoutId)
    • checkoutSessionCancel

      public static String checkoutSessionCancel(String checkoutId)