Skip to content

Commit

Permalink
Merge pull request #216 from avadev/24.2.0
Browse files Browse the repository at this point in the history
Update for 24.2.0
  • Loading branch information
svc-developer authored Feb 20, 2024
2 parents 853bd02 + b45463e commit e51d53f
Show file tree
Hide file tree
Showing 3 changed files with 524 additions and 91 deletions.
41 changes: 40 additions & 1 deletion src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace Avalara;
use GuzzleHttp\Client;

define('AVATAX_SDK_VERSION', '23.11.0');
define('AVATAX_SDK_VERSION', '24.2.0');

/*****************************************************************************
* *
Expand Down Expand Up @@ -328,6 +328,35 @@ class POASubscriptionType

}

/**
* Swagger Name: AvaTaxClient
* Defines how a stack rate is determined for a specific country and region.
*/
class StackAggregationOption
{
/**
* No aggregation.
* The component rate is used for the stack rate.
*/
const C_NOSTACKAGGREGATION = 0;

/**
* Rates are aggregated across all jurisdiction types.
*/
const C_FULLSTACKAGGREGATION = 1;

/**
* State and county rates are aggregated.
*/
const C_AGGREGATESTATEANDCOUNTY = 2;

/**
* City and county rates are aggregated.
*/
const C_AGGREGATECITYANDCOUNTY = 3;

}

/**
* Swagger Name: AvaTaxClient
* Status of an Avalara account
Expand Down Expand Up @@ -1766,6 +1795,11 @@ class ErrorCodeId
const C_CONTENTNOTFOUND = 2811;
const C_REGISTRATIONNUMBERNOTFOUND = 2812;
const C_INVALIDCOSTCENTER = 2813;

/**
* Occurs when a Header value is incorrect or invalid in some way
*/
const C_INVALIDHTTPHEADER = 3000;

}

Expand Down Expand Up @@ -1955,6 +1989,11 @@ class DocumentStatus
*/
const C_PENDINGAPPROVAL = 7;

/**
* This new status is added for Reporting API to download get reports with Saved(1) and Posted(2) state.
*/
const C_UNCOMMITTED = 12;

/**
* DEPRECATED - Represents "a document in any status" when searching. Please search using the
* [Filtering in REST](/avatax/filtering-in-rest/) documentation.
Expand Down
Loading

0 comments on commit e51d53f

Please sign in to comment.