Class ReceiptPayment
Inheritance
System.Object
ReceiptPayment
Implements
System.IComparable
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class ReceiptPayment : Object, IComparable<ReceiptPayment>, IComparable
Constructors
ReceiptPayment(ReceiptPaymentName, Amount)
Declaration
public ReceiptPayment(ReceiptPaymentName name, Amount amount)
Parameters
Properties
Amount
Declaration
public Amount Amount { get; }
Property Value
Name
Declaration
public ReceiptPaymentName Name { get; }
Property Value
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 |
System.Int32 |
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
Equals(ReceiptPayment)
Declaration
public bool Equals(ReceiptPayment other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(ReceiptPayment, ReceiptPayment)
Declaration
public static bool Equals(ReceiptPayment x, ReceiptPayment 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 |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
Equality(ReceiptPayment, ReceiptPayment)
Declaration
public static bool operator ==(ReceiptPayment x, ReceiptPayment y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ReceiptPayment, ReceiptPayment)
Declaration
public static bool operator !=(ReceiptPayment x, ReceiptPayment y)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IComparable<>
System.IComparable
Extension Methods