Class PhysicalAddress
Represents a physical address
Inheritance
Namespace: Simplic.PlugIn.SAC.Contact
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class PhysicalAddress : IContactAssignable
Constructors
| Improve this Doc View SourcePhysicalAddress()
Initialize physical address
Declaration
public PhysicalAddress()
Properties
| Improve this Doc View SourceAdditional01
Gets or sets the additional01 text
Declaration
public string Additional01 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CalculateGeoCoordinates
Gets or sets whether to calculate geo coordinates or not
Declaration
public bool CalculateGeoCoordinates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CalculateGeoCoordinatesError
Declaration
public string CalculateGeoCoordinatesError { get; set; }
Property Value
Type | Description |
---|---|
System.String |
City
Gets or sets the address city
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompanyName
Gets or sets the company name
Declaration
public string CompanyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContactId
Gets or sets the contact id
Declaration
public long? ContactId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Country
Gets or sets the full country name
Declaration
public string Country { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Country_Iso
Gets or sets the iso code
Declaration
public string Country_Iso { get; set; }
Property Value
Type | Description |
---|---|
System.String |
District
Gets or sets the district
Declaration
public string District { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EMailAddresses
Gets a stateful collection of mail addresses
Declaration
public ICollection<EMailAddress> EMailAddresses { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<EMailAddress> |
FederalStateId
Gets or sets the federal state id as nullable guid
Declaration
public Guid? FederalStateId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
FirstName
Gets or sets the first name
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GeoCoordinateStatus
Gets or sets the resolving status
Declaration
public int GeoCoordinateStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Guid
Gets or sets the unique physical address guid
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Id
Gets or sets the unique physical address guid
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsDeleted
Gets or sets whether the address is deleted
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Land
Gets or sets the local land (e.g. lower saxony)
Declaration
public string Land { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LanguageId
Gets or sets the language-id for the contact
Declaration
public int LanguageId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LastName
Gets or sets the last name
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Latitude
Gets or sets the location latitude
Declaration
public double Latitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LetterSalutation
Gets or sets the lettersalutation
Declaration
public string LetterSalutation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Lockbox
Gets or sets the lockbox number (Postfach)
Declaration
public string Lockbox { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LockBox_ZipCode
Gets or sets the lockbox zipcode (Postfach)
Declaration
public string LockBox_ZipCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Longitude
Gets or sets the location longitude
Declaration
public double Longitude { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PhoneNumbers
Gets a stateful collection of phone numbers
Declaration
public ICollection<PhoneNumber> PhoneNumbers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<PhoneNumber> |
PhysicalAddressId
Gets or sets the Id of the physical address
Declaration
public long? PhysicalAddressId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PhysicalAddressKeyId
Gets or sets the unique physical address id (pk)
Declaration
public int PhysicalAddressKeyId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
POIs
Gets a stateful collection of POIs
Declaration
public StatefulCollection<PhysicalAddressPOI> POIs { get; }
Property Value
Type | Description |
---|---|
StatefulCollection<PhysicalAddressPOI> |
ReadOnlyEmailAddresses
Gets a readonly collection of mail addresses
Declaration
public IReadOnlyList<EMailAddress> ReadOnlyEmailAddresses { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<EMailAddress> |
ReadOnlyPhoneNumbers
Gets a copy of the PhoneNumbers
Declaration
public IReadOnlyList<PhoneNumber> ReadOnlyPhoneNumbers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<PhoneNumber> |
Salutation
Gets or sets the salutation
Declaration
public string Salutation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Street
Gets or sets the street name
Declaration
public string Street { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets or sets the title
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or sets the physical address type
Declaration
public PhysicalAddressType Type { get; set; }
Property Value
Type | Description |
---|---|
PhysicalAddressType |
Zipcode
Gets or sets the Zipcode retrieves land and city from the zip
Declaration
public string Zipcode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceLoadEMailAddresses()
Load all mail addresses
Declaration
public ICollection<EMailAddress> LoadEMailAddresses()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<EMailAddress> | Stateful-collection of mail addresses connected with this contact |
LoadPhoneNumbers()
Load all phonenumbers
Declaration
public ICollection<PhoneNumber> LoadPhoneNumbers()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<PhoneNumber> | Stateful-collection of phonen numbers connected with this contact |
LoadPOIs()
Load all pois
Declaration
public ICollection<PhysicalAddressPOI> LoadPOIs()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<PhysicalAddressPOI> | Stateful-collection of pois connected with this contact |
SetAdressFromZip(String)
Trys to resolve the city and land from the zip code and sets the values in the model if they are empty
Declaration
public void SetAdressFromZip(string zipCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | zipCode | zip to resolve adress |