Exemplo n.º 1
0
 public SenderInfo ToSDKSenderInfo()
 {
     if (sdkSenderInfo != null)
     {
         return(sdkSenderInfo);
     }
     else
     {
         return(SenderInfoBuilder.NewSenderInfo(apiSender.Email)
                .WithName(apiSender.FirstName, apiSender.LastName)
                .WithCompany(apiSender.Company)
                .WithTitle(apiSender.Title)
                .WithTimezoneId(apiSender.TimezoneId)
                .Build());
     }
 }
Exemplo n.º 2
0
        public static SenderInfoBuilder NewSenderInfo(string email)
        {
            SenderInfoBuilder result = new SenderInfoBuilder(email);

            return(result);
        }