Skip to content

Commit

Permalink
Merge pull request #155 from avadev/23.11.0
Browse files Browse the repository at this point in the history
Update for 23.11.0
  • Loading branch information
svc-developer authored Nov 9, 2023
2 parents f0a7907 + 9de5361 commit 3f05cd1
Show file tree
Hide file tree
Showing 16 changed files with 2,511 additions and 827 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.10.1"
version := "23.11.0"

scalaVersion := "2.11.12"

Expand Down
1,806 changes: 988 additions & 818 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
@@ -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
*/

/**
* This is used to map the error details in response
*/
public class BadRequestErrorResponse {


private Integer code;

/**
* Getter for code
*
* Status code in the response
*/
public Integer getCode() {
return this.code;
}

/**
* Setter for code
*
* Status code in the response
*/
public void setCode(Integer value) {
this.code = value;
}

private String message;

/**
* Getter for message
*
* Error message in the response
*/
public String getMessage() {
return this.message;
}

/**
* Setter for message
*
* Error message in the response
*/
public void setMessage(String value) {
this.message = value;
}

/**
* Returns a JSON string representation of BadRequestErrorResponse
*/
@Override
public String toString() {
return JsonSerializer.SerializeObject(this);
}
}
80 changes: 80 additions & 0 deletions src/main/java/net/avalara/avatax/rest/client/models/Context.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
*/

/**
* Model to represent the system
*/
public class Context {


private String id;

/**
* Getter for id
*
* Unique id of the system
*/
public String getId() {
return this.id;
}

/**
* Setter for id
*
* Unique id of the system
*/
public void setId(String value) {
this.id = value;
}

private String system;

/**
* Getter for system
*
* System name
*/
public String getSystem() {
return this.system;
}

/**
* Setter for system
*
* System name
*/
public void setSystem(String value) {
this.system = value;
}

/**
* Returns a JSON string representation of Context
*/
@Override
public String toString() {
return JsonSerializer.SerializeObject(this);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ public void setCompanyCode(String value) {
/**
* Getter for date
*
* Transaction Date - The date on the invoice, purchase order, etc.
* Transaction Date - The date on the invoice, purchase order, etc. AvaTax accepts date values in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
* format and stores the date as `yyyy-MM-dd`.
*
* By default, this date will be used to calculate the tax rates for the transaction. If you wish to use a
* By default, this date will be used to calculate the tax rates for the transaction. If you want to use a
* different date to calculate tax rates, please specify a `taxOverride` of type `taxDate`.
*/
public Date getDate() {
Expand All @@ -184,9 +185,10 @@ public Date getDate() {
/**
* Setter for date
*
* Transaction Date - The date on the invoice, purchase order, etc.
* Transaction Date - The date on the invoice, purchase order, etc. AvaTax accepts date values in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
* format and stores the date as `yyyy-MM-dd`.
*
* By default, this date will be used to calculate the tax rates for the transaction. If you wish to use a
* By default, this date will be used to calculate the tax rates for the transaction. If you want to use a
* different date to calculate tax rates, please specify a `taxOverride` of type `taxDate`.
*/
public void setDate(Date value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@ public void setCompanyCode(String value) {
/**
* Getter for date
*
* Transaction Date - The date on the invoice, purchase order, etc.
* Transaction Date - The date on the invoice, purchase order, etc. AvaTax accepts date values in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
* format and stores the date as `yyyy-MM-dd`.
*
* By default, this date will be used to calculate the tax rates for the transaction. If you wish to use a
* By default, this date will be used to calculate the tax rates for the transaction. If you want to use a
* different date to calculate tax rates, please specify a `taxOverride` of type `taxDate`.
*/
public Date getDate() {
Expand All @@ -139,9 +140,10 @@ public Date getDate() {
/**
* Setter for date
*
* Transaction Date - The date on the invoice, purchase order, etc.
* Transaction Date - The date on the invoice, purchase order, etc. AvaTax accepts date values in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
* format and stores the date as `yyyy-MM-dd`.
*
* By default, this date will be used to calculate the tax rates for the transaction. If you wish to use a
* By default, this date will be used to calculate the tax rates for the transaction. If you want to use a
* different date to calculate tax rates, please specify a `taxOverride` of type `taxDate`.
*/
public void setDate(Date value) {
Expand Down
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
*/

/**
* Model used for Domain control verification response
*/
public class DcvCreationResponse {


private String message;

/**
* Getter for message
*
* Domain control verification is already exist or newly created
*/
public String getMessage() {
return this.message;
}

/**
* Setter for message
*
* Domain control verification is already exist or newly created
*/
public void setMessage(String value) {
this.message = value;
}

private DcvViewModel dcvViewModel;

/**
* Getter for dcvViewModel
*
*
*/
public DcvViewModel getDcvViewModel() {
return this.dcvViewModel;
}

/**
* Setter for dcvViewModel
*
*
*/
public void setDcvViewModel(DcvViewModel value) {
this.dcvViewModel = value;
}

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

0 comments on commit 3f05cd1

Please sign in to comment.