Class DocumentSigner
The signer properties include the authentication code for the singer, email address, name, role, and so on.
[DataContract]
public class DocumentSigner
- Inheritance
-
DocumentSigner
- Inherited Members
Constructors
DocumentSigner()
Initializes a new instance of the DocumentSigner class.
public DocumentSigner()
DocumentSigner(string, SignerType, string, string, string, int, bool, List<FormField>, string, Locales, AuthenticationType, PhoneNumber, IdentityVerificationSettings)
Initializes a new instance of the DocumentSigner class.
public DocumentSigner(string signerName, SignerType signerType = SignerType.Signer, string signerEmail = null, string privateMessage = null, string authenticationCode = null, int signerOrder = 0, bool enableEmailOTP = false, List<FormField> formFields = null, string hostEmail = null, Locales locale = Locales.EN, AuthenticationType authenticationType = AuthenticationType.None, PhoneNumber phoneNumber = null, IdentityVerificationSettings identityVerificationSettings = null)
Parameters
signerNamestringGets or sets the signer Name. (required).
signerTypeSignerTypesignerType.
signerEmailstringGets or sets the signer Email.
privateMessagestringGets or sets the private message.
authenticationCodestringGets or sets the authentication code.
signerOrderintGets or sets the signer order.
enableEmailOTPboolGets or sets a value indicating whether to enable email OTP.
formFieldsList<FormField>Gets or sets the formFields.
hostEmailstringGets or sets the hostEmail.
localeLocalesGets or sets the locale.
authenticationTypeAuthenticationTypeGets or sets the authentication type.
phoneNumberPhoneNumberGets or sets the phone number.
identityVerificationSettingsIdentityVerificationSettingsGets or sets the identity verification settings.
DocumentSigner(string, string, string, string, int, bool, SignerType, List<FormField>, string, Languages, AuthenticationType, PhoneNumber)
Initializes a new instance of the DocumentSigner class.
[Obsolete("The language-based constructor is deprecated. Please use the new constructor: DocumentSigner(string signerName, SignerType signerType = BoldSign.Model.SignerType.Signer, string signerEmail = default, string privateMessage = default, string authenticationCode = default, int signerOrder = default, bool enableEmailOTP = default, List<FormField> formFields = default(List<FormField>), string hostEmail = default, Locales locale = Locales.EN)")]
public DocumentSigner(string name, string emailAddress, string privateMessage = null, string authenticationCode = null, int signerOrder = 0, bool enableEmailOTP = false, SignerType signerType = SignerType.Signer, List<FormField> formFields = null, string hostEmail = null, Languages language = Languages.None, AuthenticationType authenticationType = AuthenticationType.None, PhoneNumber phoneNumber = null)
Parameters
namestringGets or sets the name. (required).
emailAddressstringGets or sets the email address. (required).
privateMessagestringGets or sets the private message..
authenticationCodestringGets or sets the authentication code..
signerOrderintGets or sets the signer order..
enableEmailOTPboolGets or sets a value indicating whether to enable email OTP..
signerTypeSignerTypesignerType.
formFieldsList<FormField>Gets or sets the formFields..
hostEmailstringGets or sets the hostEmail.
languageLanguagesGets or sets the Language.
authenticationTypeAuthenticationTypeGets or sets the authentication type.
phoneNumberPhoneNumberGets or sets the phone number.
Properties
AllowFieldConfiguration
Gets or sets a value indicating whether gets or sets the allow field configuration.
[DataMember(Name = "allowFieldConfiguration", EmitDefaultValue = false)]
public bool AllowFieldConfiguration { get; set; }
Property Value
AuthenticationCode
Gets or sets the authentication code.
[DataMember(Name = "authenticationCode", EmitDefaultValue = true)]
public string AuthenticationCode { get; set; }
Property Value
- string
Gets or sets the authentication code.
AuthenticationRetryCount
Gets or sets the authentication retry count.
[DataMember(Name = "authenticationRetryCount", EmitDefaultValue = false)]
public int? AuthenticationRetryCount { get; set; }
Property Value
- int?
AuthenticationSettings
Gets or sets a value for authentication settings.
[DataMember(Name = "authenticationSettings", EmitDefaultValue = false)]
public AuthenticationSettings AuthenticationSettings { get; set; }
Property Value
AuthenticationType
Gets or sets the authentication type. Defaults to None.
[DataMember(Name = "authenticationType", EmitDefaultValue = true)]
public AuthenticationType AuthenticationType { get; set; }
Property Value
DeliveryMode
Gets or Sets the delivery mode of the signer.
[DataMember(Name = "deliveryMode", EmitDefaultValue = true)]
public DeliveryMode DeliveryMode { get; set; }
Property Value
EmailAddress
Gets or sets the email address of the signer.
[DataMember(Name = "emailAddress", EmitDefaultValue = true)]
public string EmailAddress { get; set; }
Property Value
- string
Gets or sets the email address.
EnableEmailOTP
Gets or sets a value indicating whether to enable email OTP for signing.
[DataMember(Name = "enableEmailOTP", EmitDefaultValue = false)]
public bool EnableEmailOTP { get; set; }
Property Value
- bool
Gets or sets a value indicating whether to enable email OTP.
EnableQes
Gets or sets a value indicating whether to enable qualified electronic signature the document signer.
[DataMember(Name = "enableQes", EmitDefaultValue = false)]
public bool? EnableQes { get; set; }
Property Value
- bool?
FormFields
Gets or sets form fields assigned to signer.
[DataMember(Name = "formFields", EmitDefaultValue = false)]
public List<FormField> FormFields { get; set; }
Property Value
HostEmail
Gets or sets the Host email address of the Host.
[DataMember(Name = "hostemail", EmitDefaultValue = false)]
public string HostEmail { get; set; }
Property Value
- string
Gets or sets the Host email address.
IdentityVerificationSettings
Gets or sets the identity verification settings.
[DataMember(Name = "identityVerificationSettings", EmitDefaultValue = false)]
public IdentityVerificationSettings IdentityVerificationSettings { get; set; }
Property Value
- IdentityVerificationSettings
Gets the value of identity verification settings.
Language
Gets or sets the signer language.
[DataMember(Name = "language", EmitDefaultValue = true)]
[Obsolete("Language is deprecated, please use Locale instead.")]
public Languages Language { get; set; }
Property Value
- Languages
Gets or sets the language of the signer.
Locale
Gets or sets signer locale.
[DataMember(Name = "locale", EmitDefaultValue = false)]
public Locales Locale { get; set; }
Property Value
Name
Gets or sets the signer name.
[DataMember(Name = "name", EmitDefaultValue = true)]
public string Name { get; set; }
Property Value
- string
Gets or sets the name.
PhoneNumber
Gets or sets the phone number.
[DataMember(Name = "phoneNumber", EmitDefaultValue = false)]
public PhoneNumber PhoneNumber { get; set; }
Property Value
PrivateMessage
Gets or sets the private message.
[DataMember(Name = "privateMessage", EmitDefaultValue = true)]
public string PrivateMessage { get; set; }
Property Value
- string
Gets or sets the private message.
RecipientNotificationSettings
Gets or sets the Recipient Notification Settings.
[DataMember(Name = "recipientNotificationSettings", EmitDefaultValue = false)]
public RecipientNotificationSettings RecipientNotificationSettings { get; set; }
Property Value
- RecipientNotificationSettings
Gets or sets the Recipient Notification Settings of the signer.
SignerOrder
Gets or sets the order in which the signers needs to sign the document.
[DataMember(Name = "signerOrder", EmitDefaultValue = false)]
public int SignerOrder { get; set; }
Property Value
- int
Gets or sets the signer order.
SignerType
Gets or sets the type of signer.
[DataMember(Name = "signerType", EmitDefaultValue = false)]
public SignerType? SignerType { get; set; }
Property Value
Methods
ToJson()
Returns the JSON string presentation of the object
public virtual string ToJson()
Returns
- string
JSON string presentation of the object