Customer Endpoints
Defines all HTTP endpoints used by the customers API.
Each case maps to a distinct API route and HTTP method. Construct the appropriate case and pass it to com.framepayments.framesdk.FrameNetworking to execute the request.
Inheritors
Types
Endpoint for blocking a customer via POST /v1/customers/{customerId}/block.
Endpoint for creating a new customer via POST /v1/customers.
Endpoint for deleting a customer via DELETE /v1/customers/{customerId}.
Endpoint for retrieving a paginated list of customers via GET /v1/customers.
Endpoint for fetching a single customer by ID via GET /v1/customers/{customerId}.
Endpoint for searching customers via GET /v1/customers/search.
Endpoint for unblocking a customer via POST /v1/customers/{customerId}/unblock.
Endpoint for updating an existing customer via PATCH /v1/customers/{customerId}.
Properties
Optional extra HTTP headers to attach to the request (e.g. Accept: application/json). Defaults to empty. Applied after the standard Frame Authorization/User-Agent headers but before Content-Type (set on POST/PATCH), so an entry may override the former but not the latter. Prefer supplemental headers like Accept; don't rely on this to set auth headers.
Returns the relative URL path for this endpoint.
Returns the HTTP method string for this endpoint.
Returns the URL query parameters for this endpoint, or null if none apply.