Skip to content

Commit 8c5263c

Browse files
Merge pull request #176 from avadev/25.3.2
25.3.2
2 parents ffa0f1a + a1492f0 commit 8c5263c

12 files changed

+1940
-827
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name := """avatax-rest-v2-api-java"""
22

33
organization := "net.avalara.avatax"
44

5-
version := "25.3.0"
5+
version := "25.3.2"
66

77
scalaVersion := "2.11.12"
88

src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java

Lines changed: 1210 additions & 822 deletions
Large diffs are not rendered by default.

src/main/java/net/avalara/avatax/rest/client/enums/BatchType.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,12 @@ public enum BatchType {
104104
/**
105105
*
106106
*/
107-
GLAccountImport(16);
107+
GLAccountImport(16),
108+
109+
/**
110+
*
111+
*/
112+
AdvancedRulesImport(17);
108113

109114
private int value;
110115
private static HashMap map = new HashMap<>();

src/main/java/net/avalara/avatax/rest/client/enums/ErrorCodeId.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,26 @@ public enum ErrorCodeId {
20472047
*/
20482048
ServiceTimeout(4015),
20492049

2050+
/**
2051+
* File Validation Service (FVS) Errors
2052+
*/
2053+
UnsupportedMediaType(4016),
2054+
2055+
/**
2056+
*
2057+
*/
2058+
InvalidMediaType(4017),
2059+
2060+
/**
2061+
*
2062+
*/
2063+
FileSizeLimitExceeded(4018),
2064+
2065+
/**
2066+
*
2067+
*/
2068+
InvalidImage(4019),
2069+
20502070
/**
20512071
* Error string from the service unknown
20522072
*/

src/main/java/net/avalara/avatax/rest/client/models/AdvancedRuleBulkImportModel.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,26 @@ public void setReplaceExisting(Boolean value) {
5050
this.replaceExisting = value;
5151
}
5252

53+
private Boolean doNotReorder;
54+
55+
/**
56+
* Getter for doNotReorder
57+
*
58+
* Flag to forbid reordering of the rules when all existing rules are updated
59+
*/
60+
public Boolean getDoNotReorder() {
61+
return this.doNotReorder;
62+
}
63+
64+
/**
65+
* Setter for doNotReorder
66+
*
67+
* Flag to forbid reordering of the rules when all existing rules are updated
68+
*/
69+
public void setDoNotReorder(Boolean value) {
70+
this.doNotReorder = value;
71+
}
72+
5373
private ArrayList<AdvancedRuleExecutionModel> executions;
5474

5575
/**

src/main/java/net/avalara/avatax/rest/client/models/CommunicationCustomerResponse.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,26 @@ public void setCustomerNumber(String value) {
7070
this.customerNumber = value;
7171
}
7272

73+
private String name;
74+
75+
/**
76+
* Getter for name
77+
*
78+
* Customer name
79+
*/
80+
public String getName() {
81+
return this.name;
82+
}
83+
84+
/**
85+
* Setter for name
86+
*
87+
* Customer name
88+
*/
89+
public void setName(String value) {
90+
this.name = value;
91+
}
92+
7393
/**
7494
* Returns a JSON string representation of CommunicationCustomerResponse
7595
*/
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
package net.avalara.avatax.rest.client.models;
2+
3+
import net.avalara.avatax.rest.client.enums.*;
4+
import net.avalara.avatax.rest.client.serializer.JsonSerializer;
5+
6+
import java.lang.Override;
7+
import java.math.BigDecimal;
8+
import java.util.ArrayList;
9+
import java.util.Date;
10+
import java.util.HashMap;
11+
12+
/*
13+
* AvaTax Software Development Kit for Java JRE based environments
14+
*
15+
* (c) 2004-2018 Avalara, Inc.
16+
*
17+
* For the full copyright and license information, please view the LICENSE
18+
* file that was distributed with this source code.
19+
*
20+
* @author Dustin Welden <[email protected]>
21+
* @copyright 2004-2018 Avalara, Inc.
22+
* @license https://www.apache.org/licenses/LICENSE-2.0
23+
* @link https://github.com/avadev/AvaTax-REST-V2-JRE-SDK
24+
* Swagger name: AvaTaxClient
25+
*/
26+
27+
/**
28+
* Represents a create advanced rules batch request model.
29+
*/
30+
public class CreateAdvancedRulesBatchRequestModel {
31+
32+
33+
private String name;
34+
35+
/**
36+
* Getter for name
37+
*
38+
* The user-friendly readable name for this batch.
39+
*/
40+
public String getName() {
41+
return this.name;
42+
}
43+
44+
/**
45+
* Setter for name
46+
*
47+
* The user-friendly readable name for this batch.
48+
*/
49+
public void setName(String value) {
50+
this.name = value;
51+
}
52+
53+
private Boolean replaceExisting;
54+
55+
/**
56+
* Getter for replaceExisting
57+
*
58+
* Flag to try updating existing rules instead of just append
59+
*/
60+
public Boolean getReplaceExisting() {
61+
return this.replaceExisting;
62+
}
63+
64+
/**
65+
* Setter for replaceExisting
66+
*
67+
* Flag to try updating existing rules instead of just append
68+
*/
69+
public void setReplaceExisting(Boolean value) {
70+
this.replaceExisting = value;
71+
}
72+
73+
private String options;
74+
75+
/**
76+
* Getter for options
77+
*
78+
* Any optional flags provided for this batch
79+
*/
80+
public String getOptions() {
81+
return this.options;
82+
}
83+
84+
/**
85+
* Setter for options
86+
*
87+
* Any optional flags provided for this batch
88+
*/
89+
public void setOptions(String value) {
90+
this.options = value;
91+
}
92+
93+
private ArrayList<AdvancedRuleExecutionModel> executions;
94+
95+
/**
96+
* Getter for executions
97+
*
98+
* List of rule executions to import
99+
*/
100+
public ArrayList<AdvancedRuleExecutionModel> getExecutions() {
101+
return this.executions;
102+
}
103+
104+
/**
105+
* Setter for executions
106+
*
107+
* List of rule executions to import
108+
*/
109+
public void setExecutions(ArrayList<AdvancedRuleExecutionModel> value) {
110+
this.executions = value;
111+
}
112+
113+
/**
114+
* Returns a JSON string representation of CreateAdvancedRulesBatchRequestModel
115+
*/
116+
@Override
117+
public String toString() {
118+
return JsonSerializer.SerializeObject(this);
119+
}
120+
}

0 commit comments

Comments
 (0)