Exemplo n.º 1
0
 public CreditCardInfo(int id, string number, string expirationDate, string holderName, CreditCardOwnerType ownerType)
 {
     Id             = id;
     Number         = number;
     ExpirationDate = expirationDate;
     HolderName     = holderName;
     OwnerType      = ownerType;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public static int ToInt(this CreditCardOwnerType creditCardOwnerType)
 {
     return(Convert.ToInt32(creditCardOwnerType));
 }