DSMEnvelopeHelperProtocol.h
1 // DSMEnvelopeHelperProtocol.h
2 // DocuSignSDK
3 #import "DSMRecipientType.h"
4 
5 @class DSMRecipient;
6 @class DSMRecipients;
7 @class DSMDocument;
8 @class DSMTab;
9 @class DSMRadioGroup;
10 @class DSMRadio;
11 
12 NS_ASSUME_NONNULL_BEGIN
13 
14 // Implements commonly used functions for DSEnvelope (in DS app).
15 @protocol DSMEnvelopeHelperProtocol <NSObject>
16 
17 @required
22 @property (nonatomic) NSInteger currentRoutingOrder;
28 - (NSOrderedSet *)allDocuments;
34 - (NSOrderedSet *)allSigners;
40 - (NSOrderedSet *)incompleteLocalSigners;
46 - (DSMRecipient *)recipientWithId:(NSString *)recipientID;
52 - (NSOrderedSet *)recipientsOfType:(DSMRecipientType)recipientType;
57 - (BOOL)isRemoteEnvelopeSignedByAtLeastOneSignerInCurrentSession;
58 
59 - (NSOrderedSet *)allOfflineRecipientsInCurrentRoutingOrder;
60 - (DSMRecipients *)unsignedRecipients;
61 - (BOOL)isLocallyOriginatedEnvelope;
62 - (BOOL)isAvailableRemotely;
63 - (BOOL)isCreatedFromTemplate;
64 
65 - (NSSet *)allTags;
66 - (NSSet *)tagsForDocument:(DSMDocument * _Nullable)document;
67 - (NSSet *)tagsForSigner:(DSMRecipient * _Nullable)signer;
68 
69 - (BOOL)isSelfSign;
70 
71 - (void)setSubjectIfNeeded;
72 
73 - (DSMRadioGroup *)radioGroupWith:(DSMRadio *)radioTab forRecipient:(DSMRecipient * _Nullable)signer;
74 
75 @end
76 
77 NS_ASSUME_NONNULL_END
Definition: DSMTab.h:10
Definition: DSMRecipients.h:8
Definition: DSMDocument.h:7
Definition: DSMRecipient.h:14