Skip to content

Commit

Permalink
Merge pull request #154 from avadev/23.10.1
Browse files Browse the repository at this point in the history
Update for 23.10.1
  • Loading branch information
svc-developer authored Oct 27, 2023
2 parents 438b945 + f04ca58 commit f0a7907
Show file tree
Hide file tree
Showing 16 changed files with 2,515 additions and 725 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 := "23.8.1"
version := "23.10.1"

scalaVersion := "2.11.12"

Expand Down
1,948 changes: 1,226 additions & 722 deletions src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ public enum BatchType {
/**
*
*/
VarianceImport(14);
VarianceImport(14),

/**
*
*/
CostCenterImport(15);

private int value;
private static HashMap map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,32 @@ public enum DocumentType {
*/
CustomsOrder(11),

/**
* Represents a proposed movement of inventory from one jurisdiction to another.
*
* This document type is used when physical goods are shipped from one jurisdiction to another, and it
* may cause updates in the tax liability for various jurisdictions.
*
* For an inventory transfer invoice, the `companyCode` of the transaction refers to the owner of the inventory
* that will be moved from one location to another.
*
* This is a permanent document and is recorded in AvaTax.
*/
InventoryTransferOutboundInvoice(12),

/**
* Represents a proposed movement of inventory from one jurisdiction to another.
*
* This document type is used when physical goods are shipped from one jurisdiction to another, and it
* may cause updates in the tax liability for various jurisdictions.
*
* For an inventory transfer invoice, the `companyCode` of the transaction refers to the owner of the inventory
* that will be moved from one location to another.
*
* This is a temporary document type and is not saved in tax history.
*/
InventoryTransferOutboundOrder(13),

/**
* Not a real document type.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,11 @@ public enum ErrorCodeId {
*/
DocumentNotCommitted(313),

/**
*
*/
LineFetchLimitExceeded(314),

/**
*
*/
Expand Down Expand Up @@ -1516,6 +1521,11 @@ public enum ErrorCodeId {
*/
NoClassificationForSameHsCode(1738),

/**
*
*/
InvalidValueError(1739),

/**
* SendSales API errors
*/
Expand Down Expand Up @@ -1835,7 +1845,12 @@ public enum ErrorCodeId {
/**
*
*/
RegistrationNumberNotFound(2812);
RegistrationNumberNotFound(2812),

/**
*
*/
InvalidCostCenter(2813);

private int value;
private static HashMap map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
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
*/

/**
* AP Config Setting Request Model
*/
public class APConfigSettingRequestModel {


private Long amount;

/**
* Getter for amount
*
* The Amount
*/
public Long getAmount() {
return this.amount;
}

/**
* Setter for amount
*
* The Amount
*/
public void setAmount(Long value) {
this.amount = value;
}

private Long varianceForIgnore;

/**
* Getter for varianceForIgnore
*
* The Variance For Ignore
*/
public Long getVarianceForIgnore() {
return this.varianceForIgnore;
}

/**
* Setter for varianceForIgnore
*
* The Variance For Ignore
*/
public void setVarianceForIgnore(Long value) {
this.varianceForIgnore = value;
}

private Long varianceForAccrue;

/**
* Getter for varianceForAccrue
*
* The Variance For Accrue
*/
public Long getVarianceForAccrue() {
return this.varianceForAccrue;
}

/**
* Setter for varianceForAccrue
*
* The Variance For Accrue
*/
public void setVarianceForAccrue(Long value) {
this.varianceForAccrue = value;
}

private Long variancePercent;

/**
* Getter for variancePercent
*
* The Variance Percent
*/
public Long getVariancePercent() {
return this.variancePercent;
}

/**
* Setter for variancePercent
*
* The Variance Percent
*/
public void setVariancePercent(Long value) {
this.variancePercent = value;
}

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

/**
* AP Config Setting Response Model
*/
public class APConfigSettingSuccessResponseModel {


private Long ruleId;

/**
* Getter for ruleId
*
* The Rule Id
*/
public Long getRuleId() {
return this.ruleId;
}

/**
* Setter for ruleId
*
* The Rule Id
*/
public void setRuleId(Long value) {
this.ruleId = value;
}

private Integer companyId;

/**
* Getter for companyId
*
* CompanyId to which the rule belongs
*/
public Integer getCompanyId() {
return this.companyId;
}

/**
* Setter for companyId
*
* CompanyId to which the rule belongs
*/
public void setCompanyId(Integer value) {
this.companyId = value;
}

private TaxProfileMetaDataModel meta;

/**
* Getter for meta
*
*
*/
public TaxProfileMetaDataModel getMeta() {
return this.meta;
}

/**
* Setter for meta
*
*
*/
public void setMeta(TaxProfileMetaDataModel value) {
this.meta = value;
}

private Long amount;

/**
* Getter for amount
*
* The Amount
*/
public Long getAmount() {
return this.amount;
}

/**
* Setter for amount
*
* The Amount
*/
public void setAmount(Long value) {
this.amount = value;
}

private Long varianceForIgnore;

/**
* Getter for varianceForIgnore
*
* The Variance For Ignore
*/
public Long getVarianceForIgnore() {
return this.varianceForIgnore;
}

/**
* Setter for varianceForIgnore
*
* The Variance For Ignore
*/
public void setVarianceForIgnore(Long value) {
this.varianceForIgnore = value;
}

private Long varianceForAccrue;

/**
* Getter for varianceForAccrue
*
* The Variance For Accrue
*/
public Long getVarianceForAccrue() {
return this.varianceForAccrue;
}

/**
* Setter for varianceForAccrue
*
* The Variance For Accrue
*/
public void setVarianceForAccrue(Long value) {
this.varianceForAccrue = value;
}

private Long variancePercent;

/**
* Getter for variancePercent
*
* The Variance Percent
*/
public Long getVariancePercent() {
return this.variancePercent;
}

/**
* Setter for variancePercent
*
* The Variance Percent
*/
public void setVariancePercent(Long value) {
this.variancePercent = value;
}

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

0 comments on commit f0a7907

Please sign in to comment.