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: 12.17.2Syntax
public interface IWarehouseContactInformation : IReadOnly<IWarehouseContactInformation>, IReadOnly
Remarks
This interface is a candidate for future consolidation with other contact information data models.
Properties
City
Gets or sets the city of the contacts physical address.
Declaration
string City { get; set; }
Property Value
Type | Description |
---|---|
System.String | The city name of the contacts physical address. |
CountryCode
Gets or sets the country code of the contacts physical address.
Declaration
string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The country code of the contacts physical address. |
CountryName
Gets or sets the country of the contacts physical address.
Declaration
string CountryName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the country in which the contacts physical address is located. |
DaytimePhoneNumber
Gets or sets the phone number at which the contact can be reached during regular work hours.
Declaration
string DaytimePhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts phone number during regular work hours. |
Gets or sets the contacts email address.
Declaration
string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts email address. |
EveningPhoneNumber
Gets or sets the phone number at which the contact can be reached outside of regular work hours.
Declaration
string EveningPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts phone number outside regular work hours. |
FaxNumber
Gets or sets the phone number at which the contact can be reached by fax.
Declaration
string FaxNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts fax line phone number. |
FirstName
Gets or sets the contacts first name.
Declaration
string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts first name. |
FullName
Gets the contacts full name.
Declaration
string FullName { get; }
Property Value
Type | Description |
---|---|
System.String | The contacts name in a preferred format for display and addressing. |
LastName
Gets or sets the contacts last name.
Declaration
string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts last name. |
Line1
Gets or sets the primary line of the contacts physical address.
Declaration
string Line1 { get; set; }
Property Value
Type | Description |
---|---|
System.String | The contacts primary physical address information. |
Line2
Gets or sets the secondary line of the contacts physical address.
Declaration
string Line2 { get; set; }
Property Value
Type | Description |
---|---|
System.String | Any additional information for the contacts physical address. |
MiddleName
Gets the contacts middle name.
Declaration
string MiddleName { get; }
Property Value
Type | Description |
---|---|
System.String | The contacts middle name. |
Organization
Gets or sets the contacts organization name.
Declaration
string Organization { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the organization to which the contact belongs. |
PostalCode
Gets or sets the postal code of the contacts physical address.
Declaration
string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The postal code of the contacts physical address. |
RegionCode
Gets or sets the region code of the contacts physical address.
Declaration
string RegionCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The code identifying the region in which the contacts physical address is located. |
RegionName
Gets or sets the region name of the contacts physical address.
Declaration
string RegionName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the region in which the contacts physical address is located. |
State
Gets or sets the state of the contacts physical address.
Declaration
string State { get; set; }
Property Value
Type | Description |
---|---|
System.String | The state code or name of the contacts physical address. |
Methods
IsSameAddress(CustomerAddress)
Checks if the customern address is equivalent to this contact information.
Declaration
bool IsSameAddress(CustomerAddress address)
Parameters
Type | Name | Description |
---|---|---|
CustomerAddress | address | The CustomerAddress to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | True if the addresses are equivalent, False otherwise. |
IsSameAddress(OrderAddress)
Checks if the order address is equivalent to this contact information.
Declaration
bool IsSameAddress(OrderAddress address)
Parameters
Type | Name | Description |
---|---|---|
OrderAddress | address | The OrderAddress to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | True if the addresses are equivalent, False otherwise. |
ToCustomerAddress()
Converts the warehouse contact information into a customer address.
Declaration
CustomerAddress ToCustomerAddress()
Returns
Type | Description |
---|---|
CustomerAddress | A CustomerAddress equivalent with this instance. |
ToOrderAddress()
Converts the warehouse contact information into an order address.
Declaration
OrderAddress ToOrderAddress()
Returns
Type | Description |
---|---|
OrderAddress | An OrderAddress equivalent with this instance. |