Пример #1
0
 public static DTO.BIM.UpdatePinRequest ParseNewPin(Pin pinDetails)
 {
     return new DTO.BIM.UpdatePinRequest()
     {
         consumer_id = pinDetails.ConsumerID,
         hashed_pin = pinDetails.NewPIN
     };
 }
Пример #2
0
        public static DTO.BIM.VerifyPinRequest ParseExistingPin(Pin pinDetails)
        {
            return new DTO.BIM.VerifyPinRequest()
            {
				consumer_id = pinDetails.ConsumerID,
                hashed_pin = pinDetails.ExistingPIN
            };
        }