public CreditCardInfo(int id, string number, string expirationDate, string holderName, CreditCardOwnerType ownerType) { Id = id; Number = number; ExpirationDate = expirationDate; HolderName = holderName; OwnerType = ownerType; }
public SaveCreditCardRequest(string number, string expirationDate, string holderName, string token, string referenceCode, CreditCardOwnerType ownerType) { Number = number; ExpirationDate = expirationDate; HolderName = holderName; Token = token; ReferenceCode = referenceCode; OwnerType = ownerType; }
public static int ToInt(this CreditCardOwnerType creditCardOwnerType) { return(Convert.ToInt32(creditCardOwnerType)); }