Class ORPCode
Kód On-line Registračnej Pokladne, pridelený daňovým úradom, s dĺžkou 16 alebo 17 znakov.
Inheritance
System.Object
ORPCode
Implements
System.ICloneable
System.Collections.Generic.IEnumerable<System.Char>
System.Collections.IEnumerable
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class ORPCode : Object, IEquatable<ORPCode>, IComparable<ORPCode>, IDeepCloneable<ORPCode>, IDeepCloneable, ICloneable, IEnumerable<char>, IEnumerable
Examples
99920045678900001
Constructors
ORPCode(String)
Declaration
public ORPCode(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Fields
Declaration
public const string Format = "^[0-9]{16,17}$"
Field Value
Type |
Description |
System.String |
|
MaxLength
Declaration
public const int MaxLength = 17
Field Value
Type |
Description |
System.Int32 |
|
MinLength
Declaration
public const int MinLength = 16
Field Value
Type |
Description |
System.Int32 |
|
Properties
Length
Declaration
public int Length { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CompareTo(ORPCode)
Declaration
public int CompareTo(ORPCode other)
Parameters
Type |
Name |
Description |
ORPCode |
other |
|
Returns
Type |
Description |
System.Int32 |
|
DeepClone()
Declaration
public ORPCode DeepClone()
Returns
Equals(ORPCode)
Declaration
public bool Equals(ORPCode other)
Parameters
Type |
Name |
Description |
ORPCode |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(ORPCode, ORPCode)
Declaration
public static bool Equals(ORPCode x, ORPCode y)
Parameters
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(ORPCode, ORPCode)
Declaration
public static bool operator ==(ORPCode x, ORPCode y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implicit(ORPCode to String)
Declaration
public static implicit operator string (ORPCode orpCode)
Parameters
Type |
Name |
Description |
ORPCode |
orpCode |
|
Returns
Type |
Description |
System.String |
|
Implicit(String to ORPCode)
Declaration
public static implicit operator ORPCode(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Inequality(ORPCode, ORPCode)
Declaration
public static bool operator !=(ORPCode x, ORPCode y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IDeepCloneable.DeepClone()
Declaration
object IDeepCloneable.DeepClone()
Returns
Type |
Description |
System.Object |
|
Implements
System.IEquatable<>
System.IComparable<>
System.ICloneable
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable