Created
December 8, 2015 20:45
-
-
Save Mozu-CS/43d7e2836ed626151477 to your computer and use it in GitHub Desktop.
Method for mapping customer login info to a customer object
This file contains hidden or 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 Mozu.Api.Contracts.Customer.CustomerLoginInfo MapCustomerLoginInfo(System.Data.DataRow drAccount) | |
{ | |
var mappedAccountAndAuthInfo = new Mozu.Api.Contracts.Customer.CustomerLoginInfo() | |
{ | |
IsImport = true, | |
EmailAddress = drAccount["Email"].ToString(), | |
Password = drAccount["Password"].ToString(), | |
Username = drAccount["Username"].ToString(), | |
}; | |
return mappedAccountAndAuthInfo; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment