예제 #1
0
 public static Props GetInstance() {
     if (instance == null)
     {
         instance = new Props("signers.properties");
     }
     return instance;
 }
 public GroupManagementExample( Props props ) : this(props.Get("api.url"), 
                                                     props.Get("api.key"), 
                                                     props.Get("1.email"), 
                                                     props.Get("2.email"), 
                                                     props.Get("3.email"), 
                                                     props.Get("4.email")) {
 }
 public AuthenticationMethodsExample( Props props ) 
     : this(props.Get("api.url"), 
           props.Get("api.key"), 
           props.Get("1.email"), 
           props.Get("2.email"), 
           props.Get("3.email"), 
           props.Get("3.sms")) {
 }
예제 #4
0
 public CustomFieldExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
 public SenderManipulationExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"), props.Get("2.email"), props.Get("3.email"))
 {
 }
		public EventNotificationRegistrationExample(Props props) : base(props.Get("api.url"), props.Get("api.key"))
		{
		}
 public SignerOrderingExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"), props.Get("2.email")) {
 }
예제 #8
0
 public ContactsExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
예제 #9
0
 public ChangeSignerExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
        public void VerifyResult()
        {
            BrandingBarConfigurationExample example = new BrandingBarConfigurationExample(Props.GetInstance());

            example.Run();

            DocumentPackage documentPackage = example.RetrievedPackage;

            Assert.AreEqual(documentPackage.Settings.EnableOptOut, false);
            Assert.AreEqual(documentPackage.Settings.ShowDownloadButton, false);
            Assert.AreEqual(documentPackage.Settings.CeremonyLayoutSettings.GlobalNavigation, false);
            Assert.AreEqual(documentPackage.Settings.CeremonyLayoutSettings.ShowGlobalDownloadButton, false);
        }
        public void VerifyResult()
        {
            SigningRedirectForSignerExample example = new SigningRedirectForSignerExample(Props.GetInstance());

            example.Run();

            Assert.IsNotNull(example.GeneratedLinkToSigningForSigner);

            string stringResponse = HttpRequestUtil.GetUrlContent(example.GeneratedLinkToSigningForSigner);

            StringAssert.Contains("Electronic Disclosures and Signatures Consent", stringResponse);
        }
예제 #12
0
        public void verify()
        {
            GetCompletedPackagesWithinDateRangeExample example = new GetCompletedPackagesWithinDateRangeExample(Props.GetInstance());

            example.Run();

            assertEqualsPackageUpdatedDate(example.draftPackages, example.START_DATE, example.END_DATE);
            assertEqualsPackageUpdatedDate(example.sentPackages, example.START_DATE, example.END_DATE);
            assertEqualsPackageUpdatedDate(example.declinedPackages, example.START_DATE, example.END_DATE);
            assertEqualsPackageUpdatedDate(example.archivedPackages, example.START_DATE, example.END_DATE);
            assertEqualsPackageUpdatedDate(example.completedPackages, example.START_DATE, example.END_DATE);
        }
 public CreateTemplateOnBehalfOfAnotherSenderExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("1.email"))
 {
 }
 public static void Main(string[] args)
 {
     new CreateTemplateOnBehalfOfAnotherSenderExample(Props.GetInstance()).Run();
 }
 public GetPackageMessageExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("1.email"))
 {
 }
예제 #16
0
 public GetPackageListExample( Props props ) : this(props.Get("api.url"), props.Get("api.key")) {
 }
 public DocumentPackageAttributesExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
예제 #18
0
 public static void Main(string[] args)
 {
     new ChangeSignerExample(Props.GetInstance()).Run();
 }
 public PackageLanguageConfigurationExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) {
 }
예제 #20
0
 public DeletePackageExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
 public ExceptionHandlingExample(Props props) : this(props.Get("api.url"), props.Get("api.key"))
 {
 }
예제 #22
0
 public static void Main(string[] args)
 {
     new DeletePackageExample(Props.GetInstance()).Run();
 }
 public DocumentPackageSettingsExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) {
 }
예제 #24
0
 public DesignerRedirectForPackageSenderExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("webpage.url"))
 {
 }
예제 #25
0
 public ChangeSignerExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
예제 #26
0
 public static void Main(string[] args)
 {
     new DesignerRedirectForPackageSenderExample(Props.GetInstance()).Run();
 }
 public CustomSenderInfoExample(Props props) : this(props.Get("api.url"), props.Get("api.key"))
 {
 }
 public static void Main(string[] args)
 {
     new CreateSenderTemplateExample(Props.GetInstance()).Run();
 }
예제 #29
0
		public PackageArchiveExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) 
		{
        }
 public CreateSenderTemplateExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("1.email"))
 {
 }
 public StartFastTrackExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("1.email"))
 {
 }
예제 #32
0
 public static void Main(string[] args)
 {
     new EventNotificationRegistrationExample(Props.GetInstance()).Run();
 }
 public BasicPackageCreationExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"), props.Get("2.email"))
 {
 }
예제 #34
0
 public EventNotificationRegistrationExample(Props props) : base(props.Get("api.url"), props.Get("api.key"))
 {
 }
 public FieldPositionExtractionExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) {
 }
예제 #36
0
 public static void Main(string[] args)
 {
     new GroupManagementExample(Props.GetInstance()).Run();
 }
예제 #37
0
 public UpdatePackageExample(Props props) : this(props.Get("api.url"), props.Get("api.key"))
 {
 }
 public FieldValidationExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("1.email"))
 {
 }
 public HistoryDocumentExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"), props.Get("2.email"))
 {
 }
 public static void Main(string[] args)
 {
     new FieldValidationExample(Props.GetInstance()).Run();
 }
 public SignerAuthenticationTokenExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("webpage.url"), props.Get("1.email"))
 {
 }
 public SignerBoundFieldsExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("1.email"))
 {
 }
 public DocumentRetrievalExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
 public static void Main(string[] args)
 {
     new SignerBoundFieldsExample(Props.GetInstance()).Run();
 }
 public SigningRedirectForSignerExample( Props props ) : this(props.Get("api.url"),
         props.Get("api.key"),
         props.Get("webpage.url"),
         props.Get("1.email"))
 {
 }
예제 #46
0
        public void VerifyResult()
        {
            MixingSignatureAndAcceptanceOnOnedocumentExample example = new MixingSignatureAndAcceptanceOnOnedocumentExample(Props.GetInstance());

            example.Run();

            DocumentPackage documentPackage = example.RetrievedPackage;

            List <Signature> signatures = documentPackage.Documents["First Document"].Signatures;

            Assert.AreEqual(2, signatures.Count);
            Assert.AreEqual(SignatureStyle.FULL_NAME, signatures[0].Style);
            Assert.AreEqual(SignatureStyle.ACCEPTANCE, signatures[1].Style);
        }
 public TextAnchorExtractionExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) {
 }
예제 #48
0
        public void VerifyResult()
        {
            SignerInformationForEquifaxCanadaExample example = new SignerInformationForEquifaxCanadaExample(Props.GetInstance());

            example.Run();

            DocumentPackage documentPackage = example.RetrievedPackage;

            SignerInformationForEquifaxCanada signerInformationForEquifaxCanada = documentPackage.Signers[example.SIGNER_EMAIL].KnowledgeBasedAuthentication.SignerInformationForEquifaxCanada;

            Assert.AreEqual(signerInformationForEquifaxCanada.FirstName, example.FIRST_NAME);
            Assert.AreEqual(signerInformationForEquifaxCanada.LastName, example.LAST_NAME);
            Assert.AreEqual(signerInformationForEquifaxCanada.StreetAddress, example.STREET_ADDRESS);
            Assert.AreEqual(signerInformationForEquifaxCanada.City, example.CITY);
            Assert.AreEqual(signerInformationForEquifaxCanada.Province, example.PROVINCE);
            Assert.AreEqual(signerInformationForEquifaxCanada.PostalCode, example.POSTAL_CODE);
            Assert.AreEqual(signerInformationForEquifaxCanada.TimeAtAddress, example.TIME_AT_ADDRESS);
            Assert.AreEqual(signerInformationForEquifaxCanada.DriversLicenseNumber, example.DRIVERS_LICENSE_NUMBER);
            Assert.AreEqual(signerInformationForEquifaxCanada.SocialInsuranceNumber, example.SOCIAL_INSURANCE_NUMBER);
            Assert.AreEqual(signerInformationForEquifaxCanada.HomePhoneNumber, example.HOME_PHONE_NUMBER);
            Assert.AreEqual(signerInformationForEquifaxCanada.DateOfBirth, example.DATE_OF_BIRTH);
        }
예제 #49
0
 public DeletePackageExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) {
 }
예제 #50
0
        public void VerifyResult()
        {
            DocumentPackageSettingsExample example = new DocumentPackageSettingsExample(Props.GetInstance());

            example.Run();

            DocumentPackage result = example.EslClient.GetPackage(example.PackageId);

            Assert.IsTrue(result.Settings.EnableFirstAffidavit.HasValue);
            Assert.IsFalse(result.Settings.EnableFirstAffidavit.Value);

            Assert.IsTrue(result.Settings.EnableSecondAffidavit.HasValue);
            Assert.IsFalse(result.Settings.EnableSecondAffidavit.Value);

            Assert.IsTrue(result.Settings.ShowLanguageDropDown.HasValue);
            Assert.IsFalse(result.Settings.ShowLanguageDropDown.Value);

            Assert.IsTrue(result.Settings.ShowOwnerInPersonDropDown.HasValue);
            Assert.IsFalse(result.Settings.ShowOwnerInPersonDropDown.Value);

            Assert.AreEqual(3, result.Settings.DeclineReasons.Count);
            Assert.AreEqual(example.DECLINE_REASON_1, result.Settings.DeclineReasons[0]);
            Assert.AreEqual(example.DECLINE_REASON_2, result.Settings.DeclineReasons[1]);
            Assert.AreEqual(example.DECLINE_REASON_3, result.Settings.DeclineReasons[2]);

            Assert.AreEqual(3, result.Settings.DeclineReasons.Count);
            Assert.AreEqual(example.OPT_OUT_REASON_1, result.Settings.OptOutReasons[0]);
            Assert.AreEqual(example.OPT_OUT_REASON_2, result.Settings.OptOutReasons[1]);
            Assert.AreEqual(example.OPT_OUT_REASON_3, result.Settings.OptOutReasons[2]);
        }
 public DocumentExtractionExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) {
 }
예제 #52
0
 public InPersonExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"), props.Get("2.email"))
 {
 }
 public CreatePackageFromTemplateExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"), props.Get("2.email"))
 {
 }
예제 #54
0
 public static void Main(string[] args)
 {
     new InPersonExample(Props.GetInstance()).Run();
 }
 public FieldManipulationExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email"))
 {
 }
 public static void Main(string[] args)
 {
     new CustomSenderInfoInCreateNewTemplateExample(Props.GetInstance()).Run();
 }
 public CustomSenderInfoInCreateNewTemplateExample(Props props) : this(props.Get("api.url"), props.Get("api.key"))
 {
 }
 public CustomSenderInfoInCreateNewTemplateExample(Props props) : this(props.Get("api.key"), props.Get("api.url"))
 {
 }
예제 #59
0
 public ListTemplatesExample( Props props ) : this(props.Get("api.url"), props.Get("api.key")) {
 }
 public static void Main(string[] args)
 {
     new StartFastTrackExample(Props.GetInstance()).Run();
 }