Created
June 17, 2016 04:15
-
-
Save migsalazar/cdfa79ca464a07555981712e7b152b86 to your computer and use it in GitHub Desktop.
RfcBuilder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Rfc Build() { | |
Person person = new Person(this.Name, this.FirstLastName, this.SecondLastName, this.Year, this.Month, this.Day); | |
string tenDigitsCode = TenDigitsCalculator(); | |
string homoclave = HomoclaveCalculator(); | |
string verificationDigit = VerificationDigitCalculator(); | |
return Rfc.Build(tenDigitsCode, homoclave, verificationDigit); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment