Struct Account
Represents an account data vector that is -
type of account identity (i.e. 'customer'), identity id (i.e. customer number '125') and
account id within this identity (i.e. ref to customer #125 card '223322.....').
May also represent temporary web terminal token generated by IWebPayTerminal in which case IsWebTerminalToken = true
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NFX.Web.dll
Syntax
[Serializable]
public struct Account : IEquatable<Account>
Constructors
Account(String, Object, Object)
Declaration
public Account(string identity, object identityID, object accountID)
Parameters
Type |
Name |
Description |
System.String |
identity |
|
System.Object |
identityID |
|
System.Object |
accountID |
|
Properties
AccountID
Account id within identity id domain.
For example '2' - id of method of payment for customer #125.
Declaration
public object AccountID { get; }
Property Value
Type |
Description |
System.Object |
|
EmptyInstance
Declaration
public static Account EmptyInstance { get; }
Property Value
Identity
For example 'customer' - name of table.
Declaration
public string Identity { get; }
Property Value
Type |
Description |
System.String |
|
IdentityID
For example '125' - id of customer table row 125.
Declaration
public object IdentityID { get; }
Property Value
Type |
Description |
System.Object |
|
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Equals(Account)
Declaration
public bool Equals(Account other)
Parameters
Type |
Name |
Description |
Account |
other |
|
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 |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Equality(Account, Account)
Declaration
public static bool operator ==(Account account0, Account account1)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Account, Account)
Declaration
public static bool operator !=(Account account0, Account account1)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
Extension Methods