SignRequestPrefillTag
public class SignRequestPrefillTag : BoxInnerModel
Prefill tags are used to prefill placeholders with signer input data. Only one value field can be included.
-
This references the ID of a specific tag contained in a file of the sign request
Declaration
Swift
public let documentTagId: String? -
Text prefill value
Declaration
Swift
public let textValue: String? -
Checkbox prefill value
Declaration
Swift
public let checkboxValue: Bool? -
Date prefill value
Declaration
Swift
public let dateValue: Date? -
Initializer.
Declaration
Swift
public init( documentTagId: String?, textValue: String? )Parameters
documentTagIdId of the tag.
textValueThe text prefill value.
-
Initializer.
Declaration
Swift
public init( documentTagId: String?, checkboxValue: Bool? )Parameters
documentTagIdId of the tag.
checkboxValueThe checkbox prefill value.
-
Initializer.
Declaration
Swift
public init( documentTagId: String?, dateValue: Date? )Parameters
documentTagIdId of the tag.
dateValueThe date prefill value.
-
Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderThe decoder to read data from.
-
Encodes this value into the given encoder. If the value fails to encode anything,
encoderwill encode an empty keyed container in its place. This function throws an error if any values are invalid for the given encoder’s format.Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
SignRequestPrefillTag Class Reference