Class ReceiptPaymentName
Inheritance
ReceiptPaymentName
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class ReceiptPaymentName : Text, IEnumerable<char>, IEnumerable, ICloneable, IComparable, IComparable<Text>, IConvertible, IEquatable<Text>, IDeepCloneable<ReceiptPaymentName>, IDeepCloneable
Constructors
ReceiptPaymentName(string)
Declaration
public ReceiptPaymentName(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Fields
MaxLength
Maximálna povolená dĺžka názvu platidla
Declaration
public const byte MaxLength = 255
Field Value
MinLength
Minimálna povolená dĺžka názvu platidla
Declaration
public const byte MinLength = 1
Field Value
Methods
DeepClone()
Declaration
public ReceiptPaymentName DeepClone()
Returns
Equals(ReceiptPaymentName)
Declaration
public bool Equals(ReceiptPaymentName other)
Parameters
Returns
Equals(ReceiptPaymentName, ReceiptPaymentName)
Declaration
public static bool Equals(ReceiptPaymentName x, ReceiptPaymentName 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í, či platidlo nie je null a či je v rámci minimálnej a maximálnej dĺžky.
Declaration
public static bool IsValid(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Operators
operator ==(ReceiptPaymentName, ReceiptPaymentName)
Declaration
public static bool operator ==(ReceiptPaymentName x, ReceiptPaymentName y)
Parameters
Returns
implicit operator string(ReceiptPaymentName)
Declaration
public static implicit operator string(ReceiptPaymentName paymentName)
Parameters
Returns
implicit operator ReceiptPaymentName(string)
Declaration
public static implicit operator ReceiptPaymentName(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
operator !=(ReceiptPaymentName, ReceiptPaymentName)
Declaration
public static bool operator !=(ReceiptPaymentName x, ReceiptPaymentName y)
Parameters
Returns
Implements
Extension Methods