Library
ISODocument.h
1 //
2 // ISODocument.h
3 // SOSign
4 //
5 // Created by Florian Student on 6/27/13.
6 // Copyright (c) 2013 Florian Student. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 #define kDocumentStateNew 1
12 #define kDocumentStatePartlySigned 2
13 #define kDocumentStateComplete 3
14 #define kDocumentStateFailed 4
15 
16 @interface ISODocument : NSObject
17 
18 @property (nonatomic, readonly, getter = getDocumentId) NSNumber * documentId;
19 @property (nonatomic, readonly, getter = getExternalId) NSString * externalId; //the external ID is set to a UUID when a document is instantiated from a template. In this case the documentId of the new document is the same as that of the template
20 @property (nonatomic, readonly, getter = getDocumentTitle) NSString * documentTitle;
21 @property (nonatomic, readonly, getter = getCreationDate) NSDate * creationDate;
22 @property (nonatomic, readonly, getter = getDueDate) NSDate * dueDate;
23 @property (nonatomic, readonly, getter = getSignerString) NSString * signerString;
24 @property (nonatomic, readonly, getter = getDocumentState) int documentState;
25 @property (nonatomic, readonly, getter = getIsTemplate) BOOL isTemplate;
26 @property (nonatomic, readonly, getter = getOtherSignersNeeded) BOOL otherSignersNeeded;
27 @property (nonatomic, readonly, getter = getGeneratedFromTemplate) BOOL generatedFromTemplate;
28 @property (nonatomic, readonly, getter = getNumPages) int numPages;
29 @property (nonatomic, readonly, getter = getNumSignatureFields) int numSignatureFields;
30 @property (nonatomic, readonly, getter = getNumUnsignedSignatureFields) int numUnsignedSignatureFields;
31 @property (nonatomic, readonly, getter = getModified) BOOL modified;
32 @property (nonatomic, readonly, getter = getLastUpdateDateDate) NSDate* lastUpdateDateDate;
33 
34 @end
Definition: ISODocument.h:16