Show / Hide Table of Contents

Class PhysicalAddress

Reprezentuje fyzickú adresu.

Inheritance
object
PhysicalAddress
Implements
IDeepCloneablePhysicalAddress
IDeepCloneable
ICloneable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class PhysicalAddress : IDeepCloneable<PhysicalAddress>, IDeepCloneable, ICloneable

Constructors

PhysicalAddress(PhysicalAddress)

Declaration
public PhysicalAddress(PhysicalAddress address)
Parameters
Type Name Description
PhysicalAddress address

PhysicalAddress(string, string, string, string?, long?)

Declaration
public PhysicalAddress(string streetName, string municipality, string buildingNumber = "", string? postalCode = null, long? propertyRegistrationNumber = null)
Parameters
Type Name Description
string streetName
string municipality
string buildingNumber
string postalCode
long propertyRegistrationNumber

Fields

BuildingNumberMaxLength

Declaration
public const byte BuildingNumberMaxLength = 20
Field Value
Type Description
byte

BuildingNumberMinLength

Declaration
public const byte BuildingNumberMinLength = 1
Field Value
Type Description
byte

MunicipalityMaxLength

Declaration
public const byte MunicipalityMaxLength = 100
Field Value
Type Description
byte

MunicipalityMinLength

Declaration
public const byte MunicipalityMinLength = 1
Field Value
Type Description
byte

PostalCodeFormat

Declaration
public const string PostalCodeFormat = "[0-9]{5}"
Field Value
Type Description
string

PropertyRegistrationNumberMaxValue

Declaration
public const long PropertyRegistrationNumberMaxValue = 9999999999
Field Value
Type Description
long

PropertyRegistrationNumberMinValue

Declaration
public const long PropertyRegistrationNumberMinValue = 1
Field Value
Type Description
long

StreetNameMaxLength

Declaration
public const byte StreetNameMaxLength = 100
Field Value
Type Description
byte

StreetNameMinLength

Declaration
public const byte StreetNameMinLength = 1
Field Value
Type Description
byte

Properties

BuildingNumber

(Nepovinné) Názov budovy alebo číslo domu.

Declaration
public string BuildingNumber { get; }
Property Value
Type Description
string

Municipality

Názov obce. Obcou je územnosprávna jednotka charakterizovaná súvislým domovým osídlením a vlastným názvom. Obcou je aj mesto.

Declaration
public string Municipality { get; }
Property Value
Type Description
string

PostalCode

(Nepovinné) Poštové smerové číslo - kód, ktorý ustanovili poštové autority za účelom doručovania pošty.

Declaration
public string? PostalCode { get; }
Property Value
Type Description
string

PropertyRegistrationNumber

(Nepovinné) Súpisné číslo budovy.

Declaration
public long? PropertyRegistrationNumber { get; }
Property Value
Type Description
long

StreetName

Názov ulice. Ak obec nemá názov ulice, udáva sa tu názov obce.

Declaration
public string StreetName { get; }
Property Value
Type Description
string

Methods

IsBuildingNumberValid(string)

Gets whether candidate value representing BuildingNumber is valid.

Declaration
public static bool IsBuildingNumberValid(string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

IsMunicipalityValid(string)

Gets whether candidate value representing Municipality is valid.

Declaration
public static bool IsMunicipalityValid(string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

IsPostalCodeValid(string?)

Gets whether candidate value representing PostalCode is valid.

Declaration
public static bool IsPostalCodeValid(string? value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

IsPropertyRegistrationNumberValid(long?)

Gets whether candidate value representing PropertyRegistrationNumber is valid.

Declaration
public static bool IsPropertyRegistrationNumberValid(long? value)
Parameters
Type Name Description
long value
Returns
Type Description
bool

IsStreetNameValid(string)

Gets whether candidate value representing StreetName is valid.

Declaration
public static bool IsStreetNameValid(string value)
Parameters
Type Name Description
string value
Returns
Type Description
bool

Implements

IDeepCloneable<T>
IDeepCloneable
ICloneable
In This Article
Na začiatok stránky Nine Digit, s.r.o. ©