Skip to content

Commit

Permalink
Merge pull request #134 from avadev/22.8.0
Browse files Browse the repository at this point in the history
Update for 22.8.0
  • Loading branch information
svc-developer authored Aug 30, 2022
2 parents 4f7b6b0 + 0788d7f commit c43260b
Show file tree
Hide file tree
Showing 82 changed files with 1,635 additions and 1,188 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 := "22.7.0"
version := "22.8.0"

scalaVersion := "2.11.12"

Expand Down
1,412 changes: 706 additions & 706 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
Expand Up @@ -17,26 +17,29 @@
*/

/**
*
* Status of an Avalara account
*/
public enum AccountStatusId {
/**
*
* This account is not currently active.
*/
Inactive(0),

/**
*
* This account is active and in use.
*/
Active(1),

/**
*
* This account is flagged as a test account and may be temporary.
*/
Test(2),

/**
*
* The account is new and is currently in the onboarding process.
*
* An account is considered new until the account administrator has reviewed and accepted
* [Avalara's terms and conditions](https://www.avalara.com/us/en/legal/terms.html).
*/
New(3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
*/

/**
*
* Status of an Avalara account
*/
public enum AccountTypeId {
/**
*
* Regular AvaTax account.
*/
Regular(1),

/**
*
* Firm account.
*/
Firm(2),

/**
*
* Client account created by firm.
*/
FirmClient(3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
*/

/**
*
* Accrual types
*/
public enum AccrualType {
/**
*
* Filing indicates that this tax return should be filed with its tax authority by its due date. For example, if you file annually, you will have eleven months of Accrual returns and one Filing return.
*/
Filing(1),

/**
*
* An Accrual filing indicates taxes that are accrued, intended to be filed on a future tax return. For example, if you file annually, you will have eleven months of Accrual returns and one Filing return.
*/
Accrual(2);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,46 +17,53 @@
*/

/**
*
* The type of address represented by this object
*/
public enum AddressCategoryId {
/**
*
* Address refers to a storefront location
*/
Storefront(1),

/**
*
* Address refers to a main office of this company
*/
MainOffice(2),

/**
*
* Address refers to a warehouse or other non-public location
*/
Warehouse(3),

/**
*
* Address refers to a location for a single salesperson
*/
Salesperson(4),

/**
*
* Address is a type not reflected in the other lists
*/
Other(5),

/**
*
* The marketplace vendor does not collect and remit tax for transactions tied to this
* location. Use this option if you are using a marketplace vendor to handle your transactions
* and your company is responsible for collecting and remitting all taxes for transactions tied
* to this location.
*/
SellerRemitsTax(6),

/**
*
* The marketplace vendor collects and remits tax on your behalf for all transactions tied
* to this location. Use this option if your marketplace vendor already pays sales and use
* taxes on your behalf. When this option is selected, all transactions tied to this location
* will be treated as already filed, and will be listed on each sales tax return as amounts
* already paid.
*/
MarketplaceRemitsTax(7),

/**
*
* Address refers to the mailing address of your company which is not a physical location.
*/
NonPhysical(8);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,24 @@
*/

/**
*
* Indicates whether this address refers to a person or an business
*/
public enum AddressTypeId {
/**
*
* A business location, for example a store, warehouse, or office.
*/
Location(1),

/**
*
* A person's address who performs sales tasks for the company remotely from an office.
*/
Salesperson(2),

/**
*
* This location is a marketplace vendor that handles transactions on behalf of the company.
* When you select `Marketplace` as the address type for a location, you must then choose either
* `SellerRemitsTax` or `MarketplaceRemitsTax` to indicate which business entity is responsible
* for collecting and remitting tax for this location.
*/
Marketplace(3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,56 +17,56 @@
*/

/**
*
* Indicates the type of adjustment that was performed on a transaction
*/
public enum AdjustmentReason {
/**
*
* The transaction has not been adjusted
*/
NotAdjusted(0),

/**
*
* A sourcing issue existed which caused the transaction to be adjusted
*/
SourcingIssue(1),

/**
*
* Transaction was adjusted to reconcile it with a general ledger
*/
ReconciledWithGeneralLedger(2),

/**
*
* Transaction was adjusted after an exemption certificate was applied
*/
ExemptCertApplied(3),

/**
*
* Transaction was adjusted when the price of an item changed
*/
PriceAdjusted(4),

/**
*
* Transaction was adjusted due to a product return
*/
ProductReturned(5),

/**
*
* Transaction was adjusted due to a product exchange
*/
ProductExchanged(6),

/**
*
* Transaction was adjusted due to bad or uncollectable debt
*/
BadDebt(7),

/**
*
* Transaction was adjusted for another reason not specified
*/
Other(8),

/**
*
* Offline
*/
Offline(9);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
*/

/**
*
* Indicates what level of auditing information is available for a transaction
*/
public enum ApiCallStatus {
/**
*
* If the original api call is availabe on S3
*/
OriginalApiCallAvailable(0),

/**
*
* if the original api call is not available, reconstructed api call should always be available
*/
ReconstructedApiCallAvailable(1),

/**
*
* Any other api call status
*/
Any(-1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@
*/

/**
*
* Represents the type of authentication provided to the API call
*/
public enum AuthenticationTypeId {
/**
*
* This API call was not authenticated.
*/
None(0),

/**
*
* This API call was authenticated by your username/password.
*/
UsernamePassword(1),

/**
*
* This API call was authenticated by your Avalara Account ID and private license key.
*/
AccountIdLicenseKey(2),

/**
*
* This API call was authenticated by OpenID Bearer Token.
*/
OpenIdBearerToken(3);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
*/

/**
*
* Status when deleting an error transaction
*/
public enum AvataxDeleteErrorTransactionStatus {
/**
*
* Successful delete
*/
Success(0),

/**
*
* Failed delete
*/
Failure(1);

Expand Down
22 changes: 11 additions & 11 deletions src/main/java/net/avalara/avatax/rest/client/enums/BatchStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,56 +17,56 @@
*/

/**
*
* The status of a batch file
*/
public enum BatchStatus {
/**
*
* Batch file has been received and is in the queue to be processed.
*/
Waiting(0),

/**
*
* Batch file experienced system errors and cannot be processed.
*/
SystemErrors(1),

/**
*
* Batch file is cancelled
*/
Cancelled(2),

/**
*
* Batch file has been completely processed.
*/
Completed(3),

/**
*
* Batch file is currently being created.
*/
Creating(4),

/**
*
* Batch file has been deleted.
*/
Deleted(5),

/**
*
* Batch file was processed with some errors.
*/
Errors(6),

/**
*
* Batch processing was paused.
*/
Paused(7),

/**
*
* Batch is currently being processed.
*/
Processing(8),

/**
*
* Batch is currently being cancelled.
*/
Cancelling(9);

Expand Down
Loading

0 comments on commit c43260b

Please sign in to comment.