-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from avadev/24.4.2
Update for 24.4.2
- Loading branch information
Showing
30 changed files
with
3,408 additions
and
1,103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,706 changes: 776 additions & 930 deletions
1,706
src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
145 changes: 145 additions & 0 deletions
145
src/main/java/net/avalara/avatax/rest/client/enums/APStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
package net.avalara.avatax.rest.client.enums; | ||
import java.util.HashMap; | ||
|
||
/* | ||
* AvaTax Software Development Kit for Java JRE based environments | ||
* | ||
* (c) 2004-2018 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Dustin Welden <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JRE-SDK | ||
* Swagger name: AvaTaxClient | ||
*/ | ||
|
||
/** | ||
* /// The user can set some tolerance or threshold limits inorder to take appropriate actions when | ||
* their transactions are above or below certain threshold limits. | ||
* Account Payable (AP) status code indicates an action that needs to be taken when the tolerance/threshold falls between certain range. | ||
*/ | ||
public enum APStatus { | ||
/** | ||
* | ||
*/ | ||
PayAsBilledMatch(0), | ||
|
||
/** | ||
* | ||
*/ | ||
ShortPayItemsAccrueMatch(1), | ||
|
||
/** | ||
* | ||
*/ | ||
MarkForReviewMatch(2), | ||
|
||
/** | ||
* | ||
*/ | ||
RejectMatch(3), | ||
|
||
/** | ||
* | ||
*/ | ||
PayAsBilledNoAccrual(4), | ||
|
||
/** | ||
* | ||
*/ | ||
PayAsBilledAccrueUndercharge(5), | ||
|
||
/** | ||
* | ||
*/ | ||
ShortPayItemsAccrueUndercharge(6), | ||
|
||
/** | ||
* | ||
*/ | ||
MarkForReviewUndercharge(7), | ||
|
||
/** | ||
* | ||
*/ | ||
RejectUndercharge(8), | ||
|
||
/** | ||
* | ||
*/ | ||
PayAsBilledOvercharge(9), | ||
|
||
/** | ||
* | ||
*/ | ||
ShortPayAvalaraCalculated(10), | ||
|
||
/** | ||
* | ||
*/ | ||
ShortPayItemsAccrueOvercharge(11), | ||
|
||
/** | ||
* | ||
*/ | ||
MarkForReviewOvercharge(12), | ||
|
||
/** | ||
* | ||
*/ | ||
RejectOvercharge(13), | ||
|
||
/** | ||
* | ||
*/ | ||
AmountThresholdNotMet(14), | ||
|
||
/** | ||
* | ||
*/ | ||
CostCenterExempted(15), | ||
|
||
/** | ||
* | ||
*/ | ||
ItemExempted(16), | ||
|
||
/** | ||
* | ||
*/ | ||
TrustedVendor(17), | ||
|
||
/** | ||
* | ||
*/ | ||
AccruedByVendor(18), | ||
|
||
/** | ||
* | ||
*/ | ||
Ignored(19); | ||
|
||
private int value; | ||
private static HashMap map = new HashMap<>(); | ||
|
||
private APStatus(int value) { | ||
this.value = value; | ||
} | ||
|
||
static { | ||
for (APStatus enumName : APStatus.values()) { | ||
map.put(enumName.value, enumName); | ||
} | ||
} | ||
|
||
public static APStatus valueOf(int intValue) { | ||
return (APStatus) map.get(intValue); | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
src/main/java/net/avalara/avatax/rest/client/enums/ApConfigToleranceType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package net.avalara.avatax.rest.client.enums; | ||
import java.util.HashMap; | ||
|
||
/* | ||
* AvaTax Software Development Kit for Java JRE based environments | ||
* | ||
* (c) 2004-2018 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Dustin Welden <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JRE-SDK | ||
* Swagger name: AvaTaxClient | ||
*/ | ||
|
||
/** | ||
* AP Config Tolerance Type | ||
*/ | ||
public enum ApConfigToleranceType { | ||
/** | ||
* RealTime | ||
*/ | ||
RealTime(0), | ||
|
||
/** | ||
* Batch | ||
*/ | ||
Batch(1); | ||
|
||
private int value; | ||
private static HashMap map = new HashMap<>(); | ||
|
||
private ApConfigToleranceType(int value) { | ||
this.value = value; | ||
} | ||
|
||
static { | ||
for (ApConfigToleranceType enumName : ApConfigToleranceType.values()) { | ||
map.put(enumName.value, enumName); | ||
} | ||
} | ||
|
||
public static ApConfigToleranceType valueOf(int intValue) { | ||
return (ApConfigToleranceType) map.get(intValue); | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
93 changes: 93 additions & 0 deletions
93
src/main/java/net/avalara/avatax/rest/client/enums/BulkImportStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
package net.avalara.avatax.rest.client.enums; | ||
import java.util.HashMap; | ||
|
||
/* | ||
* AvaTax Software Development Kit for Java JRE based environments | ||
* | ||
* (c) 2004-2018 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Dustin Welden <[email protected]> | ||
* @copyright 2004-2018 Avalara, Inc. | ||
* @license https://www.apache.org/licenses/LICENSE-2.0 | ||
* @link https://github.com/avadev/AvaTax-REST-V2-JRE-SDK | ||
* Swagger name: AvaTaxClient | ||
*/ | ||
|
||
/** | ||
* | ||
*/ | ||
public enum BulkImportStatus { | ||
/** | ||
* | ||
*/ | ||
None(0), | ||
|
||
/** | ||
* | ||
*/ | ||
Success(1), | ||
|
||
/** | ||
* | ||
*/ | ||
Created(2), | ||
|
||
/** | ||
* | ||
*/ | ||
Updated(4), | ||
|
||
/** | ||
* | ||
*/ | ||
NotImported(8), | ||
|
||
/** | ||
* | ||
*/ | ||
Ignored(16), | ||
|
||
/** | ||
* | ||
*/ | ||
Error(32), | ||
|
||
/** | ||
* | ||
*/ | ||
ValidationFailed(64), | ||
|
||
/** | ||
* | ||
*/ | ||
PartialSuccess(128), | ||
|
||
/** | ||
* | ||
*/ | ||
Invalid(256); | ||
|
||
private int value; | ||
private static HashMap map = new HashMap<>(); | ||
|
||
private BulkImportStatus(int value) { | ||
this.value = value; | ||
} | ||
|
||
static { | ||
for (BulkImportStatus enumName : BulkImportStatus.values()) { | ||
map.put(enumName.value, enumName); | ||
} | ||
} | ||
|
||
public static BulkImportStatus valueOf(int intValue) { | ||
return (BulkImportStatus) map.get(intValue); | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.