Class ReceiptItemName
Označenie tovaru alebo služby
Inheritance
ReceiptItemName
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class ReceiptItemName : Text, IEnumerable<char>, IEnumerable, ICloneable, IComparable, IComparable<Text>, IConvertible, IEquatable<Text>, IDeepCloneable<ReceiptItemName>, IDeepCloneable
Examples
Coca Cola
Constructors
ReceiptItemName(string)
Declaration
public ReceiptItemName(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Fields
MaxLength
Maximálna povolená dĺžka názvu položky dokladu
Declaration
public const byte MaxLength = 255
Field Value
MinLength
Minimálna povolená dĺžka názvu položky dokladu
Declaration
public const byte MinLength = 1
Field Value
Methods
DeepClone()
Declaration
public ReceiptItemName DeepClone()
Returns
Equals(ReceiptItemName)
Declaration
public bool Equals(ReceiptItemName other)
Parameters
Returns
Equals(ReceiptItemName, ReceiptItemName)
Declaration
public static bool Equals(ReceiptItemName x, ReceiptItemName y)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
IsValid(char)
Declaration
public static bool IsValid(char c)
Parameters
| Type |
Name |
Description |
| char |
c |
|
Returns
IsValid(string)
Overí valídnosť vstupu na základe
dĺžky textu a výskytu nepovolených znakov.
Declaration
public static bool IsValid(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
Operators
operator ==(ReceiptItemName, ReceiptItemName)
Declaration
public static bool operator ==(ReceiptItemName x, ReceiptItemName y)
Parameters
Returns
implicit operator string(ReceiptItemName)
Declaration
public static implicit operator string(ReceiptItemName name)
Parameters
Returns
implicit operator ReceiptItemName(string)
Declaration
public static implicit operator ReceiptItemName(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
operator !=(ReceiptItemName, ReceiptItemName)
Declaration
public static bool operator !=(ReceiptItemName x, ReceiptItemName y)
Parameters
Returns
Implements
Extension Methods