-
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 #163 from avadev/24.6.3
Update for 24.6.3
- Loading branch information
Showing
21 changed files
with
2,847 additions
and
847 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,634 changes: 820 additions & 814 deletions
1,634
src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
src/main/java/net/avalara/avatax/rest/client/enums/CertificateEcmStatus.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,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; | ||
} | ||
} |
220 changes: 220 additions & 0 deletions
220
src/main/java/net/avalara/avatax/rest/client/models/ActiveCertificateModel.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,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); | ||
} | ||
} |
Oops, something went wrong.