TermsOfServiceEndpoints

Defines all API endpoints for Terms of Service operations.

Both cases resolve to /v1/terms_of_service and differ only by HTTP method.

Inheritors

Types

Link copied to clipboard

Creates a new Terms of Service acceptance token. Resolves to POST /v1/terms_of_service.

Link copied to clipboard

Records a customer's acceptance of the Terms of Service. Resolves to PATCH /v1/terms_of_service.

Properties

Link copied to clipboard

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.

Link copied to clipboard
open override val endpointURL: String

The fully qualified URL string for this endpoint.

Link copied to clipboard
open override val httpMethod: String

HTTP method, e.g. "GET", "POST", "DELETE".

Link copied to clipboard
open override val queryItems: List<QueryItem>?

Optional query-string parameters appended to endpointURL.