Interface IWarehouseContactInformation

Encapsulation of data fields relating to the physical location and contact information for a warehouse

Namespace: Mediachase.Commerce.Inventory
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public interface IWarehouseContactInformation
Remarks

This interface is a candidate for future consolidation with other contact information data models.

Properties

City

Gets the city of the contact's physical address.

Declaration
string City { get; }
Property Value
Type Description
System.String

The city name of the contact's physical address.

CountryCode

Gets the country code of the contact's physical address.

Declaration
string CountryCode { get; }
Property Value
Type Description
System.String

The country code of the contact's physical address.

CountryName

Gets the country of the contact's physical address.

Declaration
string CountryName { get; }
Property Value
Type Description
System.String

The name of the country in which the contact's physical address is located.

DaytimePhoneNumber

Gets the phone number at which the contact can be reached during regular work hours.

Declaration
string DaytimePhoneNumber { get; }
Property Value
Type Description
System.String

The contact's phone number during regular work hours.

Email

Gets the contact's email address.

Declaration
string Email { get; }
Property Value
Type Description
System.String

The contact's email address.

EveningPhoneNumber

Gets the phone number at which the contact can be reached outside of regular work hours.

Declaration
string EveningPhoneNumber { get; }
Property Value
Type Description
System.String

The contact's phone number outside regular work hours.

FaxNumber

Gets the phone number at which the contact can be sent a fax.

Declaration
string FaxNumber { get; }
Property Value
Type Description
System.String

The contact's fax line phone number.

FirstName

Gets the contact's first name.

Declaration
string FirstName { get; }
Property Value
Type Description
System.String

The contact's first name.

FullName

Gets the contact's full name.

Declaration
string FullName { get; }
Property Value
Type Description
System.String

The contact's name in a preferred format for display and addressing.

LastName

Gets the contact's last name.

Declaration
string LastName { get; }
Property Value
Type Description
System.String

The contact's last name.

Line1

Gets the primary line of the contact's physical address.

Declaration
string Line1 { get; }
Property Value
Type Description
System.String

The contact's primary physical address information.

Line2

Gets the secondary line of the contact's physical address.

Declaration
string Line2 { get; }
Property Value
Type Description
System.String

Any additional information for the contact's physical address.

MiddleName

Gets the contact's middle name.

Declaration
string MiddleName { get; }
Property Value
Type Description
System.String

The contact's middle name.

Organization

Gets the contact's organization name.

Declaration
string Organization { get; }
Property Value
Type Description
System.String

The name of the organization to which the contact belongs.

PostalCode

Gets the postal code of the contact's physical address.

Declaration
string PostalCode { get; }
Property Value
Type Description
System.String

The postal code of the contact's physical address.

RegionCode

Gets the region code of the contact's physical address.

Declaration
string RegionCode { get; }
Property Value
Type Description
System.String

The code identifying the region in which the contact's physical address is located.

RegionName

Gets the region name of the contact's physical address.

Declaration
string RegionName { get; }
Property Value
Type Description
System.String

The name of the region in which the contact's physical address is located.

State

Gets the state of the contact's physical address.

Declaration
string State { get; }
Property Value
Type Description
System.String

The state code or name of the contact's physical address.

Methods

IsSameAddress(CustomerAddress)

Declaration
bool IsSameAddress(CustomerAddress address)
Parameters
Type Name Description
CustomerAddress address
Returns
Type Description
System.Boolean

IsSameAddress(OrderAddress)

Declaration
bool IsSameAddress(OrderAddress address)
Parameters
Type Name Description
OrderAddress address
Returns
Type Description
System.Boolean

ToCustomerAddress()

Declaration
CustomerAddress ToCustomerAddress()
Returns
Type Description
CustomerAddress

ToOrderAddress()

Declaration
OrderAddress ToOrderAddress()
Returns
Type Description
OrderAddress