Show / Hide Table of Contents

Class ReceiptPayment

Platba

Inheritance
object
ReceiptPayment
Implements
IComparableReceiptPayment
IComparable
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class ReceiptPayment : IComparable<ReceiptPayment>, IComparable

Constructors

ReceiptPayment(ReceiptPaymentName, Amount)

Declaration
public ReceiptPayment(ReceiptPaymentName name, Amount amount)
Parameters
Type Name Description
ReceiptPaymentName name

Názov platidla

Amount amount

Nenulový peňažný obnos platby.

Properties

Amount

Peňažný obnos platby

Declaration
public Amount Amount { get; }
Property Value
Type Description
Amount

Name

Názov platidla

Declaration
public ReceiptPaymentName Name { get; }
Property Value
Type Description
ReceiptPaymentName

Methods

CompareTo(ReceiptPayment)

Zoradí platidlá podľa ich názvu, potom podľa sumy.

Declaration
public int CompareTo(ReceiptPayment other)
Parameters
Type Name Description
ReceiptPayment other

Platidlo, s ktorým bude vykonané porovnanie.

Returns
Type Description
int

CompareTo(object)

Declaration
public int CompareTo(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
int

Equals(ReceiptPayment)

Declaration
public bool Equals(ReceiptPayment other)
Parameters
Type Name Description
ReceiptPayment other
Returns
Type Description
bool

Equals(ReceiptPayment, ReceiptPayment)

Declaration
public static bool Equals(ReceiptPayment x, ReceiptPayment y)
Parameters
Type Name Description
ReceiptPayment x
ReceiptPayment y
Returns
Type Description
bool

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

Operators

operator ==(ReceiptPayment, ReceiptPayment)

Declaration
public static bool operator ==(ReceiptPayment x, ReceiptPayment y)
Parameters
Type Name Description
ReceiptPayment x
ReceiptPayment y
Returns
Type Description
bool

operator !=(ReceiptPayment, ReceiptPayment)

Declaration
public static bool operator !=(ReceiptPayment x, ReceiptPayment y)
Parameters
Type Name Description
ReceiptPayment x
ReceiptPayment y
Returns
Type Description
bool

Implements

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