-
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 #125 from avadev/22.5.0
Update for 22.5.0
- Loading branch information
Showing
13 changed files
with
1,220 additions
and
1,051 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,758 changes: 772 additions & 986 deletions
1,758
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
53 changes: 53 additions & 0 deletions
53
src/main/java/net/avalara/avatax/rest/client/enums/ReportSource.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 | ||
*/ | ||
|
||
/** | ||
* | ||
*/ | ||
public enum ReportSource { | ||
/** | ||
* | ||
*/ | ||
SNOWFLAKE(0), | ||
|
||
/** | ||
* | ||
*/ | ||
MONGODB(1); | ||
|
||
private int value; | ||
private static HashMap map = new HashMap<>(); | ||
|
||
private ReportSource(int value) { | ||
this.value = value; | ||
} | ||
|
||
static { | ||
for (ReportSource enumName : ReportSource.values()) { | ||
map.put(enumName.value, enumName); | ||
} | ||
} | ||
|
||
public static ReportSource valueOf(int intValue) { | ||
return (ReportSource) 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
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
80 changes: 80 additions & 0 deletions
80
src/main/java/net/avalara/avatax/rest/client/models/ItemPremiumClassificationInputModel.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,80 @@ | ||
package net.avalara.avatax.rest.client.models; | ||
|
||
import net.avalara.avatax.rest.client.enums.*; | ||
import net.avalara.avatax.rest.client.serializer.JsonSerializer; | ||
|
||
import java.lang.Override; | ||
import java.math.BigDecimal; | ||
import java.util.ArrayList; | ||
import java.util.Date; | ||
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 | ||
*/ | ||
|
||
/** | ||
* Represents a premium classification associated with an item's HS code for a system code. | ||
*/ | ||
public class ItemPremiumClassificationInputModel { | ||
|
||
|
||
private String hsCode; | ||
|
||
/** | ||
* Getter for hsCode | ||
* | ||
* The HsCode for which this premium classification is being created. | ||
*/ | ||
public String getHsCode() { | ||
return this.hsCode; | ||
} | ||
|
||
/** | ||
* Setter for hsCode | ||
* | ||
* The HsCode for which this premium classification is being created. | ||
*/ | ||
public void setHsCode(String value) { | ||
this.hsCode = value; | ||
} | ||
|
||
private String justification; | ||
|
||
/** | ||
* Getter for justification | ||
* | ||
* Justification why this HsCode is attached to this item. | ||
*/ | ||
public String getJustification() { | ||
return this.justification; | ||
} | ||
|
||
/** | ||
* Setter for justification | ||
* | ||
* Justification why this HsCode is attached to this item. | ||
*/ | ||
public void setJustification(String value) { | ||
this.justification = value; | ||
} | ||
|
||
/** | ||
* Returns a JSON string representation of ItemPremiumClassificationInputModel | ||
*/ | ||
@Override | ||
public String toString() { | ||
return JsonSerializer.SerializeObject(this); | ||
} | ||
} |
Oops, something went wrong.