Skip to content

Commit

Permalink
Merge pull request #139 from avadev/22.11.0
Browse files Browse the repository at this point in the history
Update for 22.11.0
  • Loading branch information
svc-developer authored Nov 3, 2022
2 parents d6e4c8c + 464cc43 commit ced9c85
Show file tree
Hide file tree
Showing 16 changed files with 2,813 additions and 738 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 := "22.10.0"
version := "22.11.0"

scalaVersion := "2.11.12"

Expand Down
1,738 changes: 1,004 additions & 734 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 @@ -1226,6 +1226,11 @@ public enum ErrorCodeId {
*/
TransactionAlreadyExists(1303),

/**
*
*/
MultiDocumentTransactionAlreadyExists(1304),

/**
*
*/
Expand Down
80 changes: 80 additions & 0 deletions src/main/java/net/avalara/avatax/rest/client/models/HsCode.java
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
*/

/**
*
*/
public class HsCode {


private String original;

/**
* Getter for original
*
*
*/
public String getOriginal() {
return this.original;
}

/**
* Setter for original
*
*
*/
public void setOriginal(String value) {
this.original = value;
}

private String modified;

/**
* Getter for modified
*
*
*/
public String getModified() {
return this.modified;
}

/**
* Setter for modified
*
*
*/
public void setModified(String value) {
this.modified = value;
}

/**
* Returns a JSON string representation of HsCode
*/
@Override
public String toString() {
return JsonSerializer.SerializeObject(this);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,14 @@ public void setParameters(ArrayList<ItemParameterModel> value) {
this.parameters = value;
}

private ArrayList<ItemTagDetailModel> tags;
private ArrayList<ItemTagDetailInputModel> tags;

/**
* Getter for tags
*
* List of item tags.
*/
public ArrayList<ItemTagDetailModel> getTags() {
public ArrayList<ItemTagDetailInputModel> getTags() {
return this.tags;
}

Expand All @@ -376,7 +376,7 @@ public ArrayList<ItemTagDetailModel> getTags() {
*
* List of item tags.
*/
public void setTags(ArrayList<ItemTagDetailModel> value) {
public void setTags(ArrayList<ItemTagDetailInputModel> value) {
this.tags = value;
}

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

/**
*
*/
public class ItemTagDetailInputModel {


private String tagName;

/**
* Getter for tagName
*
* The tag name.
*/
public String getTagName() {
return this.tagName;
}

/**
* Setter for tagName
*
* The tag name.
*/
public void setTagName(String value) {
this.tagName = value;
}

private Long itemId;

/**
* Getter for itemId
*
* The unique ID number of this item.
*/
public Long getItemId() {
return this.itemId;
}

/**
* Setter for itemId
*
* The unique ID number of this item.
*/
public void setItemId(Long value) {
this.itemId = value;
}

private Integer companyId;

/**
* Getter for companyId
*
* The unique ID number of the company that owns this item.
*/
public Integer getCompanyId() {
return this.companyId;
}

/**
* Setter for companyId
*
* The unique ID number of the company that owns this item.
*/
public void setCompanyId(Integer value) {
this.companyId = value;
}

/**
* Returns a JSON string representation of ItemTagDetailInputModel
*/
@Override
public String toString() {
return JsonSerializer.SerializeObject(this);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
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 tag for an item in your company's product catalog.
*/
public class ItemTagDetailOutputModel {


private String tagName;

/**
* Getter for tagName
*
* The tag name.
*/
public String getTagName() {
return this.tagName;
}

/**
* Setter for tagName
*
* The tag name.
*/
public void setTagName(String value) {
this.tagName = value;
}

private Long itemId;

/**
* Getter for itemId
*
* The unique ID number of this item.
*/
public Long getItemId() {
return this.itemId;
}

/**
* Setter for itemId
*
* The unique ID number of this item.
*/
public void setItemId(Long value) {
this.itemId = value;
}

private Integer companyId;

/**
* Getter for companyId
*
* The unique ID number of the company that owns this item.
*/
public Integer getCompanyId() {
return this.companyId;
}

/**
* Setter for companyId
*
* The unique ID number of the company that owns this item.
*/
public void setCompanyId(Integer value) {
this.companyId = value;
}

private Integer itemTagDetailId;

/**
* Getter for itemTagDetailId
*
* The unique ID number of the item-tag relation.
*/
public Integer getItemTagDetailId() {
return this.itemTagDetailId;
}

/**
* Setter for itemTagDetailId
*
* The unique ID number of the item-tag relation.
*/
public void setItemTagDetailId(Integer value) {
this.itemTagDetailId = value;
}

private Integer tagId;

/**
* Getter for tagId
*
* The unique tag Id for the tags.
*/
public Integer getTagId() {
return this.tagId;
}

/**
* Setter for tagId
*
* The unique tag Id for the tags.
*/
public void setTagId(Integer value) {
this.tagId = value;
}

private Date createdDate;

/**
* Getter for createdDate
*
* The date when this record was created.
*/
public Date getCreatedDate() {
return this.createdDate;
}

/**
* Setter for createdDate
*
* The date when this record was created.
*/
public void setCreatedDate(Date value) {
this.createdDate = value;
}

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

0 comments on commit ced9c85

Please sign in to comment.