Skip to content

Class Validate.CardDetail

Namespace: Tool.Utils
Assembly: Tool.Net.dll

银行卡信息

csharp
public class Validate.CardDetail

Inheritance

objectValidate.CardDetail

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Extension Methods

ObjectExtension.Add<T>(object, object, object), ObjectExtension.CopyEntity(object, object, params string[]), ObjectExtension.EntityToJson(object), ObjectExtension.EntityToJson(object, bool), ObjectExtension.EntityToJson(object, bool, string), DictionaryExtension.GetDictionary(object), TypeExtension.GetFieldKey(object, string, out bool), TypeExtension.GetFieldKey<T>(object, string, out bool), TypeExtension.GetFieldKey(object, Type, string, out bool), ObjectExtension.GetIntPtr(object), ObjectExtension.GetIntPtrInt(object), TypeExtension.GetPropertieFind(object, string, bool), TypeExtension.GetProperties(object), TypeExtension.GetPropertyKey(object, string, out bool), TypeExtension.GetPropertyKey<T>(object, string, out bool), TypeExtension.GetPropertyKey(object, Type, string, out bool), TypeExtension.GetValue(object, PropertyDescriptor), TypeExtension.GetValue(object, string, bool), TypeExtension.GetValue(object, string), ObjectExtension.Read<T>(object, object, int, int), ObjectExtension.Read<T>(object, int, object, int, int), DictionaryExtension.SetDictionary(object, IDictionary<string, object>), TypeExtension.SetFieldKey(object, string, object), TypeExtension.SetFieldKey<T>(object, string, object), TypeExtension.SetFieldKey(object, Type, string, object), TypeExtension.SetPropertyKey(object, string, object), TypeExtension.SetPropertyKey<T>(object, string, object), TypeExtension.SetPropertyKey(object, Type, string, object), TypeExtension.SetValue(object, PropertyDescriptor, object), TypeExtension.SetValue(object, string, object, bool), TypeExtension.SetValue(object, string, object), ObjectExtension.ToBase64String(object), ObjectExtension.ToBytes(object), ObjectExtension.ToBytes(object, out Type), DictionaryExtension.ToDictionary(object), DictionaryExtension.ToDictionary<T>(object), DictionaryExtension.ToIDictionary(object), DictionaryExtension.ToIDictionary<T>(object), ObjectExtension.ToJson(object), ObjectExtension.ToJson(object, JsonSerializerOptions), ObjectExtension.ToJsonWeb(object), ObjectExtension.ToJsonWeb(object, Action<JsonSerializerOptions>), ObjectExtension.ToTryVar<T>(object, T), ObjectExtension.ToVar<T>(object), ObjectExtension.ToVar(object, Type, bool), ObjectExtension.ToVar(object, string), ObjectExtension.ToXml(object)

Constructors

CardDetail(bool, string, string, string, string, string)

有参构造 验证成功时使用

csharp
public CardDetail(bool Validated, string CardNumber, string Bank, string BankName, string CardType, string VerificationResult)

Parameters

Validated bool

银行卡验证结果

CardNumber string

银行卡卡号

Bank string

银行标记名

BankName string

银行名称

CardType string

银行卡类型编号

VerificationResult string

验证结果

CardDetail(bool, string)

有参构造 验证失败时使用

csharp
public CardDetail(bool Validated, string VerificationResult)

Parameters

Validated bool

VerificationResult string

Properties

Bank

银行标记名

csharp
public string Bank { get; }

Property Value

string

BankImageStream

银行图片字节流

csharp
public Stream BankImageStream { get; }

Property Value

Stream

BankName

银行名称

csharp
public string BankName { get; }

Property Value

string

CardNumber

银行卡卡号

csharp
public string CardNumber { get; }

Property Value

string

CardType

银行卡类型编号

csharp
public string CardType { get; }

Property Value

string

CardTypeName

银行卡类型

csharp
public string CardTypeName { get; }

Property Value

string

Validated

银行卡验证结果

csharp
public bool Validated { get; }

Property Value

bool

VerificationResult

验证结果

csharp
public string VerificationResult { get; }

Property Value

string

基于Apache-2.0协议开源