Skip to content

Commit

Permalink
Merge pull request #163 from avadev/24.6.3
Browse files Browse the repository at this point in the history
Update for 24.6.3
  • Loading branch information
svc-developer authored Jun 27, 2024
2 parents 71273b4 + 662a78a commit 3bb10c1
Show file tree
Hide file tree
Showing 21 changed files with 2,847 additions and 847 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 := "24.6.1"
version := "24.6.3"

scalaVersion := "2.11.12"

Expand Down
1,634 changes: 820 additions & 814 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,68 @@
package net.avalara.avatax.rest.client.enums;
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 enum CertificateEcmStatus {
/**
*
*/
None(0),

/**
*
*/
Expired(1),

/**
*
*/
Invalid(2),

/**
*
*/
Valid(3),

/**
*
*/
PendingFuture(4);

private int value;
private static HashMap map = new HashMap<>();

private CertificateEcmStatus(int value) {
this.value = value;
}

static {
for (CertificateEcmStatus enumName : CertificateEcmStatus.values()) {
map.put(enumName.value, enumName);
}
}

public static CertificateEcmStatus valueOf(int intValue) {
return (CertificateEcmStatus) map.get(intValue);
}

public int getValue() {
return value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
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
*/

/**
* Certificate with exemption reason and exposure zone. Exposed in url $includes
*/
public class ActiveCertificateModel {


private Long id;

/**
* Getter for id
*
* Certificate ID.
*/
public Long getId() {
return this.id;
}

/**
* Setter for id
*
* Certificate ID.
*/
public void setId(Long value) {
this.id = value;
}

private Date created;

/**
* Getter for created
*
* Created date time
*/
public Date getCreated() {
return this.created;
}

/**
* Setter for created
*
* Created date time
*/
public void setCreated(Date value) {
this.created = value;
}

private Date modified;

/**
* Getter for modified
*
* Modified date time
*/
public Date getModified() {
return this.modified;
}

/**
* Setter for modified
*
* Modified date time
*/
public void setModified(Date value) {
this.modified = value;
}

private String expectedTaxNumber;

/**
* Getter for expectedTaxNumber
*
* Certificate's expected tax number
*/
public String getExpectedTaxNumber() {
return this.expectedTaxNumber;
}

/**
* Setter for expectedTaxNumber
*
* Certificate's expected tax number
*/
public void setExpectedTaxNumber(String value) {
this.expectedTaxNumber = value;
}

private String actualTaxNumber;

/**
* Getter for actualTaxNumber
*
* Certificate's actual tax number
*/
public String getActualTaxNumber() {
return this.actualTaxNumber;
}

/**
* Setter for actualTaxNumber
*
* Certificate's actual tax number
*/
public void setActualTaxNumber(String value) {
this.actualTaxNumber = value;
}

private ExposureZoneModel exposureZone;

/**
* Getter for exposureZone
*
*
*/
public ExposureZoneModel getExposureZone() {
return this.exposureZone;
}

/**
* Setter for exposureZone
*
*
*/
public void setExposureZone(ExposureZoneModel value) {
this.exposureZone = value;
}

private ExemptionReasonModel expectedTaxCode;

/**
* Getter for expectedTaxCode
*
*
*/
public ExemptionReasonModel getExpectedTaxCode() {
return this.expectedTaxCode;
}

/**
* Setter for expectedTaxCode
*
*
*/
public void setExpectedTaxCode(ExemptionReasonModel value) {
this.expectedTaxCode = value;
}

private ExemptionReasonModel actualTaxCode;

/**
* Getter for actualTaxCode
*
*
*/
public ExemptionReasonModel getActualTaxCode() {
return this.actualTaxCode;
}

/**
* Setter for actualTaxCode
*
*
*/
public void setActualTaxCode(ExemptionReasonModel value) {
this.actualTaxCode = value;
}

private CertificateModel certificate;

/**
* Getter for certificate
*
*
*/
public CertificateModel getCertificate() {
return this.certificate;
}

/**
* Setter for certificate
*
*
*/
public void setCertificate(CertificateModel value) {
this.certificate = value;
}

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

0 comments on commit 3bb10c1

Please sign in to comment.