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")) { }
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")) { }
public ContactsExample(Props props) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) { }
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); }
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")) { }
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")) { }
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")) { }
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")) { }
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")) { }
public DesignerRedirectForPackageSenderExample(Props props) : this(props.Get("api.key"), props.Get("api.url"), props.Get("webpage.url")) { }
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(); }
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")) { }
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")) { }
public FieldPositionExtractionExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) { }
public static void Main(string[] args) { new GroupManagementExample(Props.GetInstance()).Run(); }
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")) { }
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")) { }
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); }
public DeletePackageExample( Props props ) : this(props.Get("api.url"), props.Get("api.key"), props.Get("1.email")) { }
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")) { }
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")) { }
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")) { }
public ListTemplatesExample( Props props ) : this(props.Get("api.url"), props.Get("api.key")) { }
public static void Main(string[] args) { new StartFastTrackExample(Props.GetInstance()).Run(); }