private DocuSignEnvelopeCM MapFolderItemToDocuSignEnvelopeCM(FolderItem folderItem)
        {
            return(new DocuSignEnvelopeCM()
            {
                EnvelopeId = folderItem.EnvelopeId,

                Name = folderItem.Name,
                Subject = folderItem.Subject,
                OwnerName = folderItem.OwnerName,
                SenderName = folderItem.SenderName,
                SenderEmail = folderItem.SenderEmail,
                Shared = folderItem.Shared,
                Status = folderItem.Status,
                CompletedDate = DateTimeHelper.Parse(folderItem.CompletedDateTime),
                CreateDate = DateTimeHelper.Parse(folderItem.CreatedDateTime),
                SentDate = DateTimeHelper.Parse(folderItem.SentDateTime)
            });
        }
Exemplo n.º 2
0
 private DocuSignEnvelopeDTO ConvertFolderItemToDocuSignEnvelope(FolderItem item)
 {
     return(new DocuSignEnvelopeDTO
     {
         Name = item.Name,
         CompletedDate = DateTimeHelper.Parse(item.CompletedDateTime),
         CreateDate = DateTimeHelper.Parse(item.CreatedDateTime),
         SentDate = DateTimeHelper.Parse(item.SentDateTime),
         Description = item.Description,
         TemplateId = item.TemplateId,
         Status = item.Status,
         SenderName = item.SenderName,
         Subject = item.Subject,
         EnvelopeId = item.EnvelopeId,
         SenderEmail = item.SenderEmail,
         Shared = item.Shared,
         OwnerName = item.OwnerName
     });
 }