C# Класс Kona.Model.CreditCard

Наследование: PaymentMethod
Показать файл Открыть проект

Открытые методы

Метод Описание
CreditCard ( ) : System
CreditCard ( string cardType, string nameOnCard, string accountNumber, int expMonth, int expYear, string verificationCode ) : System
IsValid ( ) : bool

Validates the passed-in card, making sure that the card is not expired and that it passed the Luhn Algorigthm

Описание методов

CreditCard() публичный Метод

public CreditCard ( ) : System
Результат System

CreditCard() публичный Метод

public CreditCard ( string cardType, string nameOnCard, string accountNumber, int expMonth, int expYear, string verificationCode ) : System
cardType string
nameOnCard string
accountNumber string
expMonth int
expYear int
verificationCode string
Результат System

IsValid() публичный Метод

Validates the passed-in card, making sure that the card is not expired and that it passed the Luhn Algorigthm
public IsValid ( ) : bool
Результат bool