-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from avadev/23.7.0
Update for 23.7.0
- Loading branch information
Showing
8 changed files
with
1,638 additions
and
719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,570 changes: 852 additions & 718 deletions
1,570
src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
353 changes: 353 additions & 0 deletions
353
src/main/java/net/avalara/avatax/rest/client/models/CountryCoefficientsEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
Oops, something went wrong.