Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/lp 954 update java sdk #38

Merged
merged 7 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Install the package using Maven:
<dependency>
<groupId>com.veryfi</groupId>
<artifactId>veryfi-java</artifactId>
<version>1.0.11</version>
<version>1.0.12</version>
</dependency>
```
Install the package using Gradle:
```bash
implementation group: 'com.veryfi', name: 'veryfi-java', version: '1.0.11'
implementation group: 'com.veryfi', name: 'veryfi-java', version: '1.0.12'
```

## Getting Started
Expand Down
16 changes: 8 additions & 8 deletions docs/ClientTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Thu Apr 07 18:39:51 COT 2022 -->
<title>ClientTest</title>
<title>DocumentTests</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-04-07">
<meta name="description" content="declaration: class: ClientTest">
<meta name="description" content="declaration: class: DocumentTests">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
Expand Down Expand Up @@ -68,14 +68,14 @@
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<h1 title="Class ClientTest" class="title">Class ClientTest</h1>
<h1 title="Class DocumentTests" class="title">Class DocumentTests</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">ClientTest</div>
<div class="inheritance">DocumentTests</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">class </span><span class="element-name type-name-label">ClientTest</span>
<div class="type-signature"><span class="modifiers">class </span><span class="element-name type-name-label">DocumentTests</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
</section>
<section class="summary">
Expand Down Expand Up @@ -121,7 +121,7 @@ <h2>Constructor Summary</h2>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">ClientTest</a>()</code></div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">DocumentTests</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
Expand Down Expand Up @@ -299,8 +299,8 @@ <h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;()">
<h3>ClientTest</h3>
<div class="member-signature"><span class="element-name">ClientTest</span>()</div>
<h3>DocumentTests</h3>
<div class="member-signature"><span class="element-name">DocumentTests</span>()</div>
</section>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces<
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">Veryfi API client for Java.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="ClientTest.html" title="class in Unnamed Package">ClientTest</a></div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="veryfi/Constants.html" title="class in veryfi">Constants</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
Expand Down
6 changes: 3 additions & 3 deletions docs/index-files/index-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ <h2 class="title" id="I:A">A</h2>
<dd>
<div class="block">Add a new line item on an existing document.</div>
</dd>
<dt><a href="../ClientTest.html#addLineItemAsyncTest()" class="member-name-link">addLineItemAsyncTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#addLineItemAsyncTest()" class="member-name-link">addLineItemAsyncTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#addLineItemTest()" class="member-name-link">addLineItemTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#addLineItemTest()" class="member-name-link">addLineItemTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#apiKey" class="member-name-link">apiKey</a> - Variable in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#apiKey" class="member-name-link">apiKey</a> - Variable in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/ClientImpl.html#apiKey" class="member-name-link">apiKey</a> - Variable in class veryfi.<a href="../veryfi/ClientImpl.html" title="class in veryfi">ClientImpl</a></dt>
<dd>&nbsp;</dd>
Expand Down
2 changes: 1 addition & 1 deletion docs/index-files/index-10.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2 class="title" id="I:M">M</h2>
<dd>
<div class="block">header for HttpRequest</div>
</dd>
<dt><a href="../ClientTest.html#mockResponses" class="member-name-link">mockResponses</a> - Variable in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#mockResponses" class="member-name-link">mockResponses</a> - Variable in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">L</a>&nbsp;<a href="index-10.html">M</a>&nbsp;<a href="index-11.html">N</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">Q</a>&nbsp;<a href="index-15.html">R</a>&nbsp;<a href="index-16.html">S</a>&nbsp;<a href="index-17.html">T</a>&nbsp;<a href="index-18.html">U</a>&nbsp;<a href="index-19.html">V</a>&nbsp;<a href="index-20.html">W</a>&nbsp;<a href="index-21.html">X</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a><span class="vertical-separator">|</span><a href="../serialized-form.html">Serialized&nbsp;Form</a></main>
Expand Down
14 changes: 7 additions & 7 deletions docs/index-files/index-13.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ <h2 class="title" id="I:P">P</h2>
<dd>
<div class="block">Process a document and extract all the fields from it</div>
</dd>
<dt><a href="../ClientTest.html#processDocumentAsyncTest()" class="member-name-link">processDocumentAsyncTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentAsyncTest()" class="member-name-link">processDocumentAsyncTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#processDocumentTest()" class="member-name-link">processDocumentTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentTest()" class="member-name-link">processDocumentTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#processDocumentTestWithoutCategories()" class="member-name-link">processDocumentTestWithoutCategories()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentTestWithoutCategories()" class="member-name-link">processDocumentTestWithoutCategories()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#processDocumentTestWithParameters()" class="member-name-link">processDocumentTestWithParameters()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentTestWithParameters()" class="member-name-link">processDocumentTestWithParameters()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/Client.html#processDocumentUrl(java.lang.String,java.util.List,java.util.List,boolean,int,boolean,java.lang.String,org.json.JSONObject)" class="member-name-link">processDocumentUrl(String, List&lt;String&gt;, List&lt;String&gt;, boolean, int, boolean, String, JSONObject)</a> - Method in interface veryfi.<a href="../veryfi/Client.html" title="interface in veryfi">Client</a></dt>
<dd>
Expand All @@ -99,11 +99,11 @@ <h2 class="title" id="I:P">P</h2>
<dd>
<div class="block">Process Document from url and extract all the fields from it.</div>
</dd>
<dt><a href="../ClientTest.html#processDocumentUrlAsyncTest()" class="member-name-link">processDocumentUrlAsyncTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentUrlAsyncTest()" class="member-name-link">processDocumentUrlAsyncTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#processDocumentUrlTest()" class="member-name-link">processDocumentUrlTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentUrlTest()" class="member-name-link">processDocumentUrlTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#processDocumentUrlTestWithFileUrlsAndParameters()" class="member-name-link">processDocumentUrlTestWithFileUrlsAndParameters()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#processDocumentUrlTestWithFileUrlsAndParameters()" class="member-name-link">processDocumentUrlTestWithFileUrlsAndParameters()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/HttpMethod.html#PUT" class="member-name-link">PUT</a> - Enum constant in enum class veryfi.<a href="../veryfi/HttpMethod.html" title="enum class in veryfi">HttpMethod</a></dt>
<dd>
Expand Down
6 changes: 3 additions & 3 deletions docs/index-files/index-17.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ <h2 class="title" id="I:T">T</h2>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/models/SharedLineItem.html#taxRate" class="member-name-link">taxRate</a> - Variable in class veryfi.models.<a href="../veryfi/models/SharedLineItem.html" title="class in veryfi.models">SharedLineItem</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#testAddLineItemThrow()" class="member-name-link">testAddLineItemThrow()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#testAddLineItemThrow()" class="member-name-link">testAddLineItemThrow()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#testBadCredentials()" class="member-name-link">testBadCredentials()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#testBadCredentials()" class="member-name-link">testBadCredentials()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#testUpdateLineItemThrow()" class="member-name-link">testUpdateLineItemThrow()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#testUpdateLineItemThrow()" class="member-name-link">testUpdateLineItemThrow()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/ClientImpl.html#timeOut" class="member-name-link">timeOut</a> - Variable in class veryfi.<a href="../veryfi/ClientImpl.html" title="class in veryfi">ClientImpl</a></dt>
<dd>&nbsp;</dd>
Expand Down
10 changes: 5 additions & 5 deletions docs/index-files/index-18.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ <h2 class="title" id="I:U">U</h2>
<dd>
<div class="block">Update data for a previously processed document, including almost any field like `vendor`, `date`, `notes` etc.</div>
</dd>
<dt><a href="../ClientTest.html#updateDocumentAsyncTest()" class="member-name-link">updateDocumentAsyncTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#updateDocumentAsyncTest()" class="member-name-link">updateDocumentAsyncTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#updateDocumentTest()" class="member-name-link">updateDocumentTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#updateDocumentTest()" class="member-name-link">updateDocumentTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/Client.html#updateLineItem(java.lang.String,java.lang.String,veryfi.models.UpdateLineItem)" class="member-name-link">updateLineItem(String, String, UpdateLineItem)</a> - Method in interface veryfi.<a href="../veryfi/Client.html" title="interface in veryfi">Client</a></dt>
<dd>
Expand All @@ -97,9 +97,9 @@ <h2 class="title" id="I:U">U</h2>
<dd>
<div class="block">Update an existing line item on an existing document.</div>
</dd>
<dt><a href="../ClientTest.html#updateLineItemAsyncTest()" class="member-name-link">updateLineItemAsyncTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#updateLineItemAsyncTest()" class="member-name-link">updateLineItemAsyncTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#updateLineItemTest()" class="member-name-link">updateLineItemTest()</a> - Method in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#updateLineItemTest()" class="member-name-link">updateLineItemTest()</a> - Method in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/Constants.html#USER_AGENT" class="member-name-link">USER_AGENT</a> - Static variable in class veryfi.<a href="../veryfi/Constants.html" title="class in veryfi">Constants</a></dt>
<dd>
Expand All @@ -109,7 +109,7 @@ <h2 class="title" id="I:U">U</h2>
<dd>
<div class="block">header for HttpRequest</div>
</dd>
<dt><a href="../ClientTest.html#username" class="member-name-link">username</a> - Variable in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#username" class="member-name-link">username</a> - Variable in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/ClientImpl.html#username" class="member-name-link">username</a> - Variable in class veryfi.<a href="../veryfi/ClientImpl.html" title="class in veryfi">ClientImpl</a></dt>
<dd>&nbsp;</dd>
Expand Down
10 changes: 5 additions & 5 deletions docs/index-files/index-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2 class="title" id="I:C">C</h2>
</dd>
<dt><a href="../veryfi/models/SharedLineItem.html#category" class="member-name-link">category</a> - Variable in class veryfi.models.<a href="../veryfi/models/SharedLineItem.html" title="class in veryfi.models">SharedLineItem</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#client" class="member-name-link">client</a> - Variable in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#client" class="member-name-link">client</a> - Variable in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/Client.html" class="type-name-link" title="interface in veryfi">Client</a> - Interface in <a href="../veryfi/package-summary.html">veryfi</a></dt>
<dd>
Expand All @@ -69,7 +69,7 @@ <h2 class="title" id="I:C">C</h2>
<dd>
<div class="block">header for HttpRequest</div>
</dd>
<dt><a href="../ClientTest.html#clientId" class="member-name-link">clientId</a> - Variable in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#clientId" class="member-name-link">clientId</a> - Variable in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/ClientImpl.html#clientId" class="member-name-link">clientId</a> - Variable in class veryfi.<a href="../veryfi/ClientImpl.html" title="class in veryfi">ClientImpl</a></dt>
<dd>&nbsp;</dd>
Expand All @@ -81,13 +81,13 @@ <h2 class="title" id="I:C">C</h2>
<dd>
<div class="block">Creates an instance of <a href="../veryfi/ClientImpl.html" title="class in veryfi"><code>ClientImpl</code></a>.</div>
</dd>
<dt><a href="../ClientTest.html#clientSecret" class="member-name-link">clientSecret</a> - Variable in class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#clientSecret" class="member-name-link">clientSecret</a> - Variable in class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/ClientImpl.html#clientSecret" class="member-name-link">clientSecret</a> - Variable in class veryfi.<a href="../veryfi/ClientImpl.html" title="class in veryfi">ClientImpl</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html" class="type-name-link" title="class in Unnamed Package">ClientTest</a> - Class in <a href="../package-summary.html">Unnamed Package</a></dt>
<dt><a href="../DocumentTests.html" class="type-name-link" title="class in Unnamed Package">DocumentTests</a> - Class in <a href="../package-summary.html">Unnamed Package</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ClientTest.html#%3Cinit%3E()" class="member-name-link">ClientTest()</a> - Constructor for class <a href="../ClientTest.html" title="class in Unnamed Package">ClientTest</a></dt>
<dt><a href="../DocumentTests.html#%3Cinit%3E()" class="member-name-link">DocumentTests()</a> - Constructor for class <a href="../DocumentTests.html" title="class in Unnamed Package">DocumentTests</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../veryfi/Constants.html" class="type-name-link" title="class in veryfi">Constants</a> - Class in <a href="../veryfi/package-summary.html">veryfi</a></dt>
<dd>
Expand Down
Loading
Loading