public static DTO.BIM.UpdatePinRequest ParseNewPin(Pin pinDetails) { return new DTO.BIM.UpdatePinRequest() { consumer_id = pinDetails.ConsumerID, hashed_pin = pinDetails.NewPIN }; }
public static DTO.BIM.VerifyPinRequest ParseExistingPin(Pin pinDetails) { return new DTO.BIM.VerifyPinRequest() { consumer_id = pinDetails.ConsumerID, hashed_pin = pinDetails.ExistingPIN }; }