C# 클래스 Kona.Model.CreditCard

상속: PaymentMethod
파일 보기 프로젝트 열기: BenHall/Kona

공개 메소드들

메소드 설명
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