Table of Contents

Class ExtendExpiry

Namespace
BoldSign.Api.Model
Assembly
BoldSign.Api.dll

The Extend Expiry Model.

[DataContract]
public class ExtendExpiry
Inheritance
ExtendExpiry
Inherited Members

Constructors

ExtendExpiry(string, bool?, string)

Initializes a new instance of the ExtendExpiry class.

public ExtendExpiry(string newExpiryValue, bool? warnPrior, string onBehalfOf = null)

Parameters

newExpiryValue string

The new expiry date should be specified in yyyy-MM-dd format, and the document will always be set to expire at midnight on the specified date.

warnPrior bool?

If null, the existing configuration will be used. If true, one day before the expiration date, a warning email will be sent. If false, a warning email will not be sent one day before the expiration date.

onBehalfOf string

Gets or sets the on behalf of email.

Properties

NewExpiryValue

Gets or sets the new expiry date. The new expiry date should be specified in yyyy-MM-dd format, and the document will always be set to expire at midnight on the specified date.

[DataMember(Name = "newExpiryValue", EmitDefaultValue = true)]
[Required]
public string NewExpiryValue { get; set; }

Property Value

string

OnBehalfOf

Gets or sets the on behalf ofemail.

[DataMember(Name = "onBehalfOf", EmitDefaultValue = true)]
public string OnBehalfOf { get; set; }

Property Value

string

WarnPrior

Gets or sets a value indicating whether to send warning one day prior to the expiry date. If null, the existing configuration will be used. If true, one day before the expiration date, a warning email will be sent. If false, a warning email will not be sent one day before the expiration date.

[DataMember(Name = "warnPrior", EmitDefaultValue = true)]
public bool? WarnPrior { get; set; }

Property Value

bool?

Methods

ToJson()

Returns the JSON string presentation of the object.

public virtual string ToJson()

Returns

string

JSON string presentation of the object.