Skip to content

Commit

Permalink
Merge pull request #150 from avadev/23.7.0
Browse files Browse the repository at this point in the history
Update for 23.7.0
  • Loading branch information
svc-developer authored Jul 14, 2023
2 parents 0a31ef3 + 1bf815b commit 24d60dc
Show file tree
Hide file tree
Showing 8 changed files with 1,638 additions and 719 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.6.1"
version := "23.7.0"

scalaVersion := "2.11.12"

Expand Down
1,570 changes: 852 additions & 718 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,353 @@
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 the Country coefficients model, using which tax rules rates can be modified dynamically for CB transaciotns while applying tax rules
* in order to reduce the variance for all the transactions at country level.
*/
public class CountryCoefficientsEntity {


private Integer coefficientsId;

/**
* Getter for coefficientsId
*
* CoefficientsId
*/
public Integer getCoefficientsId() {
return this.coefficientsId;
}

/**
* Setter for coefficientsId
*
* CoefficientsId
*/
public void setCoefficientsId(Integer value) {
this.coefficientsId = value;
}

private Integer accountId;

/**
* Getter for accountId
*
* AccountId
*/
public Integer getAccountId() {
return this.accountId;
}

/**
* Setter for accountId
*
* AccountId
*/
public void setAccountId(Integer value) {
this.accountId = value;
}

private Integer companyId;

/**
* Getter for companyId
*
* The CompanyId of company for which coefficient will be applied.
*/
public Integer getCompanyId() {
return this.companyId;
}

/**
* Setter for companyId
*
* The CompanyId of company for which coefficient will be applied.
*/
public void setCompanyId(Integer value) {
this.companyId = value;
}

private String country;

/**
* Getter for country
*
* The country for which coefficient will be applied.
*/
public String getCountry() {
return this.country;
}

/**
* Setter for country
*
* The country for which coefficient will be applied.
*/
public void setCountry(String value) {
this.country = value;
}

private BigDecimal coefficient;

/**
* Getter for coefficient
*
* Value by which rates need to be altered while calculating taxes.
*/
public BigDecimal getCoefficient() {
return this.coefficient;
}

/**
* Setter for coefficient
*
* Value by which rates need to be altered while calculating taxes.
*/
public void setCoefficient(BigDecimal value) {
this.coefficient = value;
}

private String taxSubTypeId;

/**
* Getter for taxSubTypeId
*
* TaxSubTypeId
*/
public String getTaxSubTypeId() {
return this.taxSubTypeId;
}

/**
* Setter for taxSubTypeId
*
* TaxSubTypeId
*/
public void setTaxSubTypeId(String value) {
this.taxSubTypeId = value;
}

private String currencyCode;

/**
* Getter for currencyCode
*
* CurrencyCode
*/
public String getCurrencyCode() {
return this.currencyCode;
}

/**
* Setter for currencyCode
*
* CurrencyCode
*/
public void setCurrencyCode(String value) {
this.currencyCode = value;
}

private Integer unitOfBasisId;

/**
* Getter for unitOfBasisId
*
* UnitOfBasisId
*/
public Integer getUnitOfBasisId() {
return this.unitOfBasisId;
}

/**
* Setter for unitOfBasisId
*
* UnitOfBasisId
*/
public void setUnitOfBasisId(Integer value) {
this.unitOfBasisId = value;
}

private Boolean isApplicable;

/**
* Getter for isApplicable
*
* IsApplicable
* Flag that is being used to mark the effectiveness of the specific entry for the particular date.
*/
public Boolean getIsApplicable() {
return this.isApplicable;
}

/**
* Setter for isApplicable
*
* IsApplicable
* Flag that is being used to mark the effectiveness of the specific entry for the particular date.
*/
public void setIsApplicable(Boolean value) {
this.isApplicable = value;
}

private Date modifiedDate;

/**
* Getter for modifiedDate
*
* ModifiedDate
*/
public Date getModifiedDate() {
return this.modifiedDate;
}

/**
* Setter for modifiedDate
*
* ModifiedDate
*/
public void setModifiedDate(Date value) {
this.modifiedDate = value;
}

private Date startDate;

/**
* Getter for startDate
*
* StartDate
*/
public Date getStartDate() {
return this.startDate;
}

/**
* Setter for startDate
*
* StartDate
*/
public void setStartDate(Date value) {
this.startDate = value;
}

private Date endDate;

/**
* Getter for endDate
*
*
*/
public Date getEndDate() {
return this.endDate;
}

/**
* Setter for endDate
*
*
*/
public void setEndDate(Date value) {
this.endDate = value;
}

private Integer modifiedUserId;

/**
* Getter for modifiedUserId
*
* ModifiedUserId.
*
* To track the user by which the records have been modified in the past.
* This will allow us to track the historical changes made to particular record.
*/
public Integer getModifiedUserId() {
return this.modifiedUserId;
}

/**
* Setter for modifiedUserId
*
* ModifiedUserId.
*
* To track the user by which the records have been modified in the past.
* This will allow us to track the historical changes made to particular record.
*/
public void setModifiedUserId(Integer value) {
this.modifiedUserId = value;
}

private Date createdDate;

/**
* Getter for createdDate
*
* StartDate
*/
public Date getCreatedDate() {
return this.createdDate;
}

/**
* Setter for createdDate
*
* StartDate
*/
public void setCreatedDate(Date value) {
this.createdDate = value;
}

private Integer createdUserId;

/**
* Getter for createdUserId
*
* CreatedUserId.
*
* To track the user who created the record at first place
*/
public Integer getCreatedUserId() {
return this.createdUserId;
}

/**
* Setter for createdUserId
*
* CreatedUserId.
*
* To track the user who created the record at first place
*/
public void setCreatedUserId(Integer value) {
this.createdUserId = value;
}

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

0 comments on commit 24d60dc

Please sign in to comment.