Otp

@JsonClass(generateAdapter = true)
data class Otp(val key: String, val label: String, val required: Boolean, @Json(name = "subtype") val rawSubtype: String, @Json(name = "min_length") val minLength: Int?, @Json(name = "max_length") val maxLength: Int?) : PONativeAlternativePaymentElement.Form.Parameter

One-Time Password (OTP) parameter.

Parameters

key

Parameter key.

rawSubtype

Raw OTP subtype.

label

Parameter display label.

required

Indicates whether the parameter is required.

minLength

Optional minimum length.

maxLength

Optional maximum length.

Constructors

Link copied to clipboard
constructor(key: String, label: String, required: Boolean, @Json(name = "subtype") rawSubtype: String, @Json(name = "min_length") minLength: Int?, @Json(name = "max_length") maxLength: Int?)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val key: String
Link copied to clipboard
open override val label: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val required: Boolean