public void UpdateSignerVerification(OneSpanSign.Sdk.PackageId packageId, String roleId, SignerVerification signerVerification) { OneSpanSign.API.Verification verification = new SignerVerificationConverter(signerVerification).ToAPISignerVerification(); signerVerificationService.UpdateSignerVerification(packageId, roleId, verification); }
public void DeleteSignerVerification(OneSpanSign.Sdk.PackageId packageId, String roleId) { signerVerificationService.DeleteSignerVerification(packageId, roleId); }
public void UpdatePackage(OneSpanSign.Sdk.PackageId packageId, DocumentPackage documentPackage) { packageService.UpdatePackage(packageId, new DocumentPackageConverter(documentPackage).ToAPIPackage()); }
/// <summary> /// Delete the QR code from document. /// </summary> /// <param name="packageId">Package identifier of the DocumentPackage which contains the document with QR code to delete.</param> /// <param name="documentId">Document identifier of the Document which contains.</param> /// <param name="qrCodeFieldId">Field identifier of QR code to delete.</param> public void DeleteQRCode(PackageId packageId, string documentId, string qrCodeFieldId) { apiClient.DeleteQRCode(packageId.Id, documentId, qrCodeFieldId); }
/// <summary> /// Get the QR code from document. /// </summary> /// <returns>The QR code field.</returns> /// <param name="packageId">Package identifier of the DocumentPackage which contains the document with the QR code to get.</param> /// <param name="documentId">Document identifier of the Document to get QR code from.</param> /// <param name="qrCodeFieldId">Field identifier of the QR code to get.</param> public Field GetQRCode(PackageId packageId, string documentId, string qrCodeFieldId) { OneSpanSign.API.Field apiField = apiClient.GetQRCode(packageId.Id, documentId, qrCodeFieldId); return(new FieldConverter(apiField).ToSDKField()); }
/// <summary> /// Modify the QR code in document. /// </summary> /// <param name="packageId">Package identifier of the DocumentPackage which contains the document with the QR code to modify.</param> /// <param name="documentId">Document identifier of the Document which contains the QR code to modify.</param> /// <param name="qrCodeField">The new QR code field</param> public void ModifyQRCode(PackageId packageId, string documentId, Field qrCodeField) { OneSpanSign.API.Field apiField = new FieldConverter(qrCodeField).ToAPIField(); apiClient.ModifyQRCode(packageId.Id, documentId, apiField); }
/// <summary> /// Add a QR code field to the document. /// </summary> /// <returns>The field Id of the added QR code.</returns> /// <param name="packageId">Package identifier of the DocumentPackage which contains the document to add QR code to.</param> /// <param name="documentId">Document identifier of the Document to add QR code to.</param> /// <param name="qrCodeField">Qr code field.</param> public string AddQRCode(PackageId packageId, string documentId, Field qrCodeField) { OneSpanSign.API.Field apiField = new FieldConverter(qrCodeField).ToAPIField(); return(apiClient.AddQRCode(packageId.Id, documentId, apiField)); }