UpdateRequest

data class UpdateRequest(val token: String, val acceptedAt: Int? = null, val ipAddress: String? = null, val userAgent: String? = null)

Request body for recording a customer's Terms of Service acceptance.

Constructors

Link copied to clipboard
constructor(token: String, acceptedAt: Int? = null, ipAddress: String? = null, userAgent: String? = null)

Properties

Link copied to clipboard
@SerializedName(value = "accepted_at")
val acceptedAt: Int? = null

Unix timestamp of when the customer accepted the Terms of Service. Defaults to the server time when omitted.

Link copied to clipboard
@SerializedName(value = "ip_address")
val ipAddress: String? = null

IP address of the customer at the time of acceptance, used for audit purposes.

Link copied to clipboard

The short-lived token obtained from TermsOfServiceAPI.createToken; identifies the acceptance session.

Link copied to clipboard
@SerializedName(value = "user_agent")
val userAgent: String? = null

User-agent string of the customer's device at the time of acceptance, used for audit purposes.