Exemple #1
0
        public OneSpanSign.API.NotaryJournalEntry ToAPINotaryJournalEntry()
        {
            if (sdkNotaryJournalEntry == null)
            {
                return(apiNotaryJournalEntry);
            }
            OneSpanSign.API.NotaryJournalEntry result = new OneSpanSign.API.NotaryJournalEntry();

            result.SequenceNumber = sdkNotaryJournalEntry.SequenceNumber;
            result.CreationDate   = sdkNotaryJournalEntry.CreationDate;
            result.DocumentType   = sdkNotaryJournalEntry.DocumentType;
            result.DocumentName   = sdkNotaryJournalEntry.DocumentName;
            result.SignerName     = sdkNotaryJournalEntry.SignerName;
            result.SignatureType  = sdkNotaryJournalEntry.SignatureType;
            result.IdType         = sdkNotaryJournalEntry.IdType;
            result.IdValue        = sdkNotaryJournalEntry.IdValue;
            result.Jurisdiction   = sdkNotaryJournalEntry.Jurisdiction;
            result.Comment        = sdkNotaryJournalEntry.Comment;

            return(result);
        }
Exemple #2
0
 public NotaryJournalEntryConverter(NotaryJournalEntry sdkNotaryJournalEntry)
 {
     this.sdkNotaryJournalEntry = sdkNotaryJournalEntry;
     this.apiNotaryJournalEntry = null;
 }
Exemple #3
0
 public NotaryJournalEntryConverter(OneSpanSign.API.NotaryJournalEntry apiNotaryJournalEntry)
 {
     this.apiNotaryJournalEntry = apiNotaryJournalEntry;
     this.sdkNotaryJournalEntry = null;
 }