-
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 #169 from avadev/24.11.2
Update for 24.11.2
- Loading branch information
Showing
12 changed files
with
1,334 additions
and
928 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,676 changes: 838 additions & 838 deletions
1,676
src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
58 changes: 58 additions & 0 deletions
58
src/main/java/net/avalara/avatax/rest/client/enums/ReturnsLiabilityType.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,58 @@ | ||
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 <dustin.welden@avalara.com> | ||
* @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 | ||
*/ | ||
|
||
/** | ||
* Defines returns liability type. | ||
*/ | ||
public enum ReturnsLiabilityType { | ||
/** | ||
* all | ||
*/ | ||
ALL(0), | ||
|
||
/** | ||
* original | ||
*/ | ||
ORIGINAL(1), | ||
|
||
/** | ||
* amend | ||
*/ | ||
AMENDED(2); | ||
|
||
private int value; | ||
private static HashMap map = new HashMap<>(); | ||
|
||
private ReturnsLiabilityType(int value) { | ||
this.value = value; | ||
} | ||
|
||
static { | ||
for (ReturnsLiabilityType enumName : ReturnsLiabilityType.values()) { | ||
map.put(enumName.value, enumName); | ||
} | ||
} | ||
|
||
public static ReturnsLiabilityType valueOf(int intValue) { | ||
return (ReturnsLiabilityType) map.get(intValue); | ||
} | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
src/main/java/net/avalara/avatax/rest/client/enums/ReturnsReportType.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,58 @@ | ||
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 <dustin.welden@avalara.com> | ||
* @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 | ||
*/ | ||
|
||
/** | ||
* Defines returns report type. | ||
*/ | ||
public enum ReturnsReportType { | ||
/** | ||
* liability summary return detail hospitality | ||
*/ | ||
LIABILITYSUMMARYRETURNDETAILHOSPITALITY(0), | ||
|
||
/** | ||
* liability summary return detail | ||
*/ | ||
LIABILITYSUMMARYRETURNDETAIL(1), | ||
|
||
/** | ||
* liability carry over credit | ||
*/ | ||
LIABILITYCARRYOVERCREDIT(2); | ||
|
||
private int value; | ||
private static HashMap map = new HashMap<>(); | ||
|
||
private ReturnsReportType(int value) { | ||
this.value = value; | ||
} | ||
|
||
static { | ||
for (ReturnsReportType enumName : ReturnsReportType.values()) { | ||
map.put(enumName.value, enumName); | ||
} | ||
} | ||
|
||
public static ReturnsReportType valueOf(int intValue) { | ||
return (ReturnsReportType) 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
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.