Skip to content

Commit

Permalink
Merge pull request #161 from avadev/24.6.1
Browse files Browse the repository at this point in the history
Update for 24.6.1
  • Loading branch information
svc-developer authored Jun 13, 2024
2 parents 23a8e0d + e3ace36 commit 71273b4
Show file tree
Hide file tree
Showing 26 changed files with 2,524 additions and 1,143 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := """avatax-rest-v2-api-java"""

organization := "net.avalara.avatax"

version := "24.4.2"
version := "24.6.1"

scalaVersion := "2.11.12"

Expand Down
2,116 changes: 1,172 additions & 944 deletions src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java

Large diffs are not rendered by default.

42 changes: 31 additions & 11 deletions src/main/java/net/avalara/avatax/rest/client/enums/APStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum APStatus {
/**
*
*/
PayAsBilledMatch(0),
NoAccrualMatch(0),

/**
*
Expand All @@ -45,12 +45,12 @@ public enum APStatus {
/**
*
*/
PayAsBilledNoAccrual(4),
NoAccrualUndercharge(4),

/**
*
*/
PayAsBilledAccrueUndercharge(5),
AccruedUndercharge(5),

/**
*
Expand All @@ -60,7 +60,7 @@ public enum APStatus {
/**
*
*/
MarkForReviewUndercharge(7),
NeedReviewUndercharge(7),

/**
*
Expand All @@ -70,7 +70,7 @@ public enum APStatus {
/**
*
*/
PayAsBilledOvercharge(9),
NoAccrualOvercharge(9),

/**
*
Expand All @@ -95,32 +95,52 @@ public enum APStatus {
/**
*
*/
AmountThresholdNotMet(14),
NoAccrualAmountThresholdNotMet(14),

/**
*
*/
CostCenterExempted(15),
NoAccrualExemptedCostCenter(15),

/**
*
*/
ItemExempted(16),
NoAccrualExemptedItem(16),

/**
*
*/
TrustedVendor(17),
NoAccrualTrustedVendor(17),

/**
*
*/
AccruedByVendor(18),
AccruedVendor(18),

/**
*
*/
Ignored(19);
NeedReviewVendor(19),

/**
*
*/
NoAccrualExemptedVendor(20),

/**
*
*/
NoAccrualExemptedGLAccount(21),

/**
*
*/
PendingAccrualVendor(22),

/**
*
*/
PendingAccrualUndercharge(23);

private int value;
private static HashMap map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ public enum BatchType {
/**
*
*/
CostCenterImport(15);
CostCenterImport(15),

/**
*
*/
GLAccountImport(16);

private int value;
private static HashMap map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1531,6 +1531,16 @@ public enum ErrorCodeId {
*/
ItemDualWriteParameterValueMismatchError(1740),

/**
*
*/
DuplicateItemIdsInTaxCodeClassificationRequest(1741),

/**
*
*/
TooManyItemIdsInTaxCodeClassificationRequest(1742),

/**
* SendSales API errors
*/
Expand Down Expand Up @@ -1862,6 +1872,16 @@ public enum ErrorCodeId {
*/
InvalidCostCenter(2813),

/**
* Sync flow restricts one record for Item model
*/
TooManyItemsInSyncFlowRequest(2814),

/**
* IMS-2096: Recommendation status update rule
*/
InvalidTaxCodeIdInRecommendationStatusUpdate(2815),

/**
* Occurs when a Header value is incorrect or invalid in some way
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setTaxTypeGroupId(String value) {
/**
* Getter for visibility
*
* This defines if the parameter is recommeded ,optional or mandatory
* This defines if the parameter is recommended ,optional or mandatory
*/
public Visibility getVisibility() {
return this.visibility;
Expand All @@ -104,7 +104,7 @@ public Visibility getVisibility() {
/**
* Setter for visibility
*
* This defines if the parameter is recommeded ,optional or mandatory
* This defines if the parameter is recommended ,optional or mandatory
*/
public void setVisibility(Visibility value) {
this.visibility = value;
Expand All @@ -130,6 +130,26 @@ public void setAttributeType(String value) {
this.attributeType = value;
}

private String attributeSubType;

/**
* Getter for attributeSubType
*
* The sub-type of parameter as determined by its application.
*/
public String getAttributeSubType() {
return this.attributeSubType;
}

/**
* Setter for attributeSubType
*
* The sub-type of parameter as determined by its application.
*/
public void setAttributeSubType(String value) {
this.attributeSubType = value;
}

private String name;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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 <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
*/

/**
* Filter Model
*/
public class FilterModel {


private String filter;

/**
* Getter for filter
*
* Filter
*/
public String getFilter() {
return this.filter;
}

/**
* Setter for filter
*
* Filter
*/
public void setFilter(String value) {
this.filter = value;
}

/**
* Returns a JSON string representation of FilterModel
*/
@Override
public String toString() {
return JsonSerializer.SerializeObject(this);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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 <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
*/

/**
* Represents a bulk upload input model.
*/
public class GLAccountBulkUploadInputModel {


private ArrayList<GLAccountRequestModel> glAccounts;

/**
* Getter for glAccounts
*
* List of GL accounts
*/
public ArrayList<GLAccountRequestModel> getGlAccounts() {
return this.glAccounts;
}

/**
* Setter for glAccounts
*
* List of GL accounts
*/
public void setGlAccounts(ArrayList<GLAccountRequestModel> value) {
this.glAccounts = value;
}

/**
* Returns a JSON string representation of GLAccountBulkUploadInputModel
*/
@Override
public String toString() {
return JsonSerializer.SerializeObject(this);
}
}
Loading

0 comments on commit 71273b4

Please sign in to comment.