Shipping Integrator V5 - Online Help
Shipping Integrator V5
Questions / Feedback?

ContactDetail Type

Represents the contact information.

Remarks

This type contains descriptive data identifying the point-of-contact person (such as sender, recipient, broker, etc.).

Example: Setting the fields of the sender

ContactDetail senderContact = new ContactDetail
senderContact.Company = "Anything Anywhere"
senderContact.FirstName = "John"
senderContact.LastName = "Doe"
senderContact.Phone = "1234567890"
senderContact.Email = "test@test.com"

The fields contained by this type are listed below.

Fields

Company
String

Identifies the contact person's company name. In a ship request, either FirstName and LastName or Company are required to be provided.

Email
String

Identifies the contact person's email address. Maximum length: 120.

Fax
String

Recipient's fax number. The value of this field is optional. No format checking is done on international fax numbers.

FirstName
String

Sender's first name. The value of this property is required. Values for either FirstName and LastName or Company must be sent.

LastName
String

Person's last name. The value of this field is required. Values for either FirstName and LastName or Company must be sent. Maximum length: 45 characters for both names or company name.

MiddleInitial
String

Middle initial. The value of this field is optional.

Phone
String

Identifies the contact person's phone number. In a ship request, this is required to be provided. Maximum length: 15.

Constructors

[VB.NET]
Public ContactDetail()

[C#]
public ContactDetail();



[VB.NET]
Public ContactDetail(ByVal FirstName As String, ByVal LastName As String, ByVal Phone As String)

[C#]
public ContactDetail(string firstName, string lastName, string phone);



[VB.NET]
Public ContactDetail(ByVal FirstName As String, ByVal LastName As String, ByVal Phone As String, ByVal Email As String)

[C#]
public ContactDetail(string firstName, string lastName, string phone, string email);



[VB.NET]
Public ContactDetail(ByVal FirstName As String, ByVal LastName As String, ByVal Phone As String, ByVal Email As String, ByVal Company As String)

[C#]
public ContactDetail(string firstName, string lastName, string phone, string email, string company);



 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0