Show / Hide Table of Contents

Class CustomerId

Unikátny identifikátor kupujúceho slúžiaci pre identifikáciu vlastníka prijatého dokladu s dĺžkou max 50 znakov. Povolené hodnoty sú veľké a malé písmená a číslice.

Inheritance
System.Object
CustomerId
Implements
System.IEquatable<CustomerId>
System.IComparable<CustomerId>
IDeepCloneable<CustomerId>
IDeepCloneable
System.ICloneable
System.Collections.Generic.IEnumerable<System.Char>
System.Collections.IEnumerable
Namespace: NineDigit.eKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class CustomerId : Object, IEquatable<CustomerId>, IComparable<CustomerId>, IDeepCloneable<CustomerId>, IDeepCloneable, ICloneable, IEnumerable<char>, IEnumerable
Examples

987654321

Constructors

CustomerId(CustomerId)

Declaration
public CustomerId(CustomerId customerId)
Parameters
Type Name Description
CustomerId customerId

CustomerId(String)

Declaration
public CustomerId(string value)
Parameters
Type Name Description
System.String value

Fields

MaxLength

Declaration
public const byte MaxLength = 50
Field Value
Type Description
System.Byte

MinLength

Declaration
public const byte MinLength = 1
Field Value
Type Description
System.Byte

Properties

Length

Declaration
public int Length { get; }
Property Value
Type Description
System.Int32

Methods

CompareTo(CustomerId)

Declaration
public int CompareTo(CustomerId other)
Parameters
Type Name Description
CustomerId other
Returns
Type Description
System.Int32

DeepClone()

Declaration
public CustomerId DeepClone()
Returns
Type Description
CustomerId

Equals(CustomerId)

Declaration
public bool Equals(CustomerId other)
Parameters
Type Name Description
CustomerId other
Returns
Type Description
System.Boolean

Equals(CustomerId, CustomerId)

Declaration
public static bool Equals(CustomerId x, CustomerId y)
Parameters
Type Name Description
CustomerId x
CustomerId y
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetEnumerator()

Declaration
public IEnumerator<char> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Char>

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

IsValid(String)

Declaration
public static bool IsValid(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
System.Boolean

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

Equality(CustomerId, CustomerId)

Declaration
public static bool operator ==(CustomerId x, CustomerId y)
Parameters
Type Name Description
CustomerId x
CustomerId y
Returns
Type Description
System.Boolean

Implicit(CustomerId to String)

Declaration
public static implicit operator string (CustomerId customerId)
Parameters
Type Name Description
CustomerId customerId
Returns
Type Description
System.String

Implicit(String to CustomerId)

Declaration
public static implicit operator CustomerId(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
CustomerId

Inequality(CustomerId, CustomerId)

Declaration
public static bool operator !=(CustomerId x, CustomerId y)
Parameters
Type Name Description
CustomerId x
CustomerId y
Returns
Type Description
System.Boolean

Explicit Interface Implementations

IDeepCloneable.DeepClone()

Declaration
object IDeepCloneable.DeepClone()
Returns
Type Description
System.Object

Implements

System.IEquatable<>
System.IComparable<>
IDeepCloneable<T>
IDeepCloneable
System.ICloneable
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
In This Article
Na začiatok stránky Nine Digit, s.r.o. ©