Class NSFormSubmissionEntity

Content of a Form submission.

Constructors

NSFormSubmissionEntity()

Initializes a new instance of the NSFormSubmissionEntity class.

Declaration

NSFormSubmissionEntity

Methods

GetContactId()

Declaration

Integer GetContactId()

Examples

NSFormSubmissionEntity thing;
Integer contactId = thing.GetContactId();

Returns

Type Description
Integer The optional ID of the contact of the person who submitted.

GetEmailAddress()

Declaration

String GetEmailAddress()

Examples

NSFormSubmissionEntity thing;
String emailAddress = thing.GetEmailAddress();

Returns

Type Description
String The email address of the person who submitted.

GetFormId()

Declaration

Integer GetFormId()

Examples

NSFormSubmissionEntity thing;
Integer formId = thing.GetFormId();

Returns

Type Description
Integer The ID of the parent form.

GetFormSubmissionId()

Declaration

Integer GetFormSubmissionId()

Examples

NSFormSubmissionEntity thing;
Integer formSubmissionId = thing.GetFormSubmissionId();

Returns

Type Description
Integer Primary key.

GetPersonId()

Declaration

Integer GetPersonId()

Examples

NSFormSubmissionEntity thing;
Integer personId = thing.GetPersonId();

Returns

Type Description
Integer The optional ID of the person who submitted.

GetProcessingLog()

Declaration

String GetProcessingLog()

Examples

NSFormSubmissionEntity thing;
String processingLog = thing.GetProcessingLog();

Returns

Type Description
String A log of what happened during processing.

GetResponse()

Declaration

String GetResponse()

Examples

NSFormSubmissionEntity thing;
String response = thing.GetResponse();

Returns

Type Description
String The JSON-formatted response from this form.

GetResponseShipmentAddrId()

Declaration

Integer GetResponseShipmentAddrId()

Examples

NSFormSubmissionEntity thing;
Integer responseShipmentAddrId = thing.GetResponseShipmentAddrId();

Returns

Type Description
Integer The ID of the s_shipment_addr that is the response mail.

GetStatus()

Declaration

Integer GetStatus()

Examples

NSFormSubmissionEntity thing;
Integer status = thing.GetStatus();

Returns

Type Description
Integer The status of this submission. See <xref href="CRMScript.NetServer.FormSubmissionStatus" data-throw-if-not-resolved="false"></xref>

GetWhenSubmitted()

Declaration

DateTime GetWhenSubmitted()

Examples

NSFormSubmissionEntity thing;
DateTime whenSubmitted = thing.GetWhenSubmitted();

Returns

Type Description
DateTime The time of the submit.

SetContactId(Integer)

Declaration

Void SetContactId(Integer contactId)

Examples

NSFormSubmissionEntity thing;
Integer contactId;
thing.SetContactId(contactId);

Parameters

Type Name Description
Integer contactId The optional ID of the contact of the person who submitted.

Returns

Type Description
Void

SetEmailAddress(String)

Declaration

Void SetEmailAddress(String emailAddress)

Examples

NSFormSubmissionEntity thing;
String emailAddress;
thing.SetEmailAddress(emailAddress);

Parameters

Type Name Description
String emailAddress The email address of the person who submitted.

Returns

Type Description
Void

SetFormId(Integer)

Declaration

Void SetFormId(Integer formId)

Examples

NSFormSubmissionEntity thing;
Integer formId;
thing.SetFormId(formId);

Parameters

Type Name Description
Integer formId The ID of the parent form.

Returns

Type Description
Void

SetFormSubmissionId(Integer)

Declaration

Void SetFormSubmissionId(Integer formSubmissionId)

Examples

NSFormSubmissionEntity thing;
Integer formSubmissionId;
thing.SetFormSubmissionId(formSubmissionId);

Parameters

Type Name Description
Integer formSubmissionId Primary key.

Returns

Type Description
Void

SetPersonId(Integer)

Declaration

Void SetPersonId(Integer personId)

Examples

NSFormSubmissionEntity thing;
Integer personId;
thing.SetPersonId(personId);

Parameters

Type Name Description
Integer personId The optional ID of the person who submitted.

Returns

Type Description
Void

SetProcessingLog(String)

Declaration

Void SetProcessingLog(String processingLog)

Examples

NSFormSubmissionEntity thing;
String processingLog;
thing.SetProcessingLog(processingLog);

Parameters

Type Name Description
String processingLog A log of what happened during processing.

Returns

Type Description
Void

SetResponse(String)

Declaration

Void SetResponse(String response)

Examples

NSFormSubmissionEntity thing;
String response;
thing.SetResponse(response);

Parameters

Type Name Description
String response The JSON-formatted response from this form.

Returns

Type Description
Void

SetResponseShipmentAddrId(Integer)

Declaration

Void SetResponseShipmentAddrId(Integer responseShipmentAddrId)

Examples

NSFormSubmissionEntity thing;
Integer responseShipmentAddrId;
thing.SetResponseShipmentAddrId(responseShipmentAddrId);

Parameters

Type Name Description
Integer responseShipmentAddrId The ID of the s_shipment_addr that is the response mail.

Returns

Type Description
Void

SetStatus(Integer)

Declaration

Void SetStatus(Integer status)

Examples

NSFormSubmissionEntity thing;
Integer status;
thing.SetStatus(status);

Parameters

Type Name Description
Integer status What is the status of this submission. See <xref href="CRMScript.NetServer.FormSubmissionStatus" data-throw-if-not-resolved="false"></xref>.

Returns

Type Description
Void

SetUpdSetWhenSubmitted(DateTime)

Declaration

Void SetWhenSubmitted(DateTime whenSubmitted)

Examples

NSFormSubmissionEntity thing;
DateTime whenSubmitted;
thing.SetWhenSubmitted(whenSubmitted);

Parameters

Type Name Description
DateTime whenSubmitted The time of the submit.

Returns

Type Description
Void