-
Notifications
You must be signed in to change notification settings - Fork 38
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 #238 from avadev/24.2.0
Update for 24.2.0
- Loading branch information
Showing
20 changed files
with
1,278 additions
and
371 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
---|---|---|
|
@@ -3,13 +3,14 @@ | |
/* | ||
* AvaTax API Client Library | ||
* | ||
* (c) 2004-2019 Avalara, Inc. | ||
* (c) 2004-2023 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Genevieve Conty | ||
* @author Greg Hester | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* Swagger name: AvaTaxClient | ||
*/ | ||
|
||
namespace Avalara.AvaTax.RestClient | ||
|
@@ -19,26 +20,26 @@ namespace Avalara.AvaTax.RestClient | |
/// </summary> | ||
public enum StackAggregationOption | ||
{ | ||
/// <summary> | ||
/// No aggregation. | ||
/// The component rate is used for the stack rate. | ||
/// </summary> | ||
NoStackAggregation = 0, | ||
|
||
/// <summary> | ||
/// Rates are aggregated across all jurisdiction types. | ||
/// </summary> | ||
FullStackAggregation = 1, | ||
|
||
/// <summary> | ||
/// State and county rates are aggregated. | ||
/// </summary> | ||
AggregateStateAndCounty = 2, | ||
|
||
/// <summary> | ||
/// City and county rates are aggregated. | ||
/// </summary> | ||
AggregateCityAndCounty = 3, | ||
|
||
/// <summary> | ||
/// No aggregation. | ||
/// The component rate is used for the stack rate. | ||
/// </summary> | ||
NoStackAggregation = 0, | ||
|
||
/// <summary> | ||
/// Rates are aggregated across all jurisdiction types. | ||
/// </summary> | ||
FullStackAggregation = 1, | ||
|
||
/// <summary> | ||
/// State and county rates are aggregated. | ||
/// </summary> | ||
AggregateStateAndCounty = 2, | ||
|
||
/// <summary> | ||
/// City and county rates are aggregated. | ||
/// </summary> | ||
AggregateCityAndCounty = 3, | ||
|
||
} | ||
} |
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
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,125 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
/* | ||
* AvaTax API Client Library | ||
* | ||
* (c) 2004-2023 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* Swagger name: AvaTaxClient | ||
*/ | ||
|
||
namespace Avalara.AvaTax.RestClient | ||
{ | ||
/// <summary> | ||
/// Model for RateOption. | ||
/// </summary> | ||
public class ComplianceRateOptionModel | ||
{ | ||
/// <summary> | ||
/// The name of the Jurisdiction | ||
/// </summary> | ||
public String jurisName { get; set; } | ||
|
||
/// <summary> | ||
/// The Group Code | ||
/// </summary> | ||
public String groupCode { get; set; } | ||
|
||
/// <summary> | ||
/// The id of the tax region. | ||
/// </summary> | ||
public Int32? taxRegionId { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the tax region. | ||
/// </summary> | ||
public String taxRegionName { get; set; } | ||
|
||
/// <summary> | ||
/// The report level. | ||
/// </summary> | ||
public String reportLevel { get; set; } | ||
|
||
/// <summary> | ||
/// The Tax Type Code. | ||
/// </summary> | ||
public String taxTypeCode { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the Tax Type Code. | ||
/// </summary> | ||
public String taxTypeCodeName { get; set; } | ||
|
||
/// <summary> | ||
/// The Sub Type Code. | ||
/// </summary> | ||
public String taxSubTypeCode { get; set; } | ||
|
||
/// <summary> | ||
/// The name of Sub Type. | ||
/// </summary> | ||
public String taxSubTypeCodeName { get; set; } | ||
|
||
/// <summary> | ||
/// The rate type of the rate. | ||
/// </summary> | ||
public String rateTypeCode { get; set; } | ||
|
||
/// <summary> | ||
/// The rate type description. | ||
/// </summary> | ||
public String rateTypeCodeName { get; set; } | ||
|
||
/// <summary> | ||
/// The Stack Rate | ||
/// </summary> | ||
public Decimal? stackRate { get; set; } | ||
|
||
/// <summary> | ||
/// The Component Rate | ||
/// </summary> | ||
public Decimal? componentRate { get; set; } | ||
|
||
/// <summary> | ||
/// The id of the tax authority. | ||
/// </summary> | ||
public Int32? taxAuthorityId { get; set; } | ||
|
||
/// <summary> | ||
/// City | ||
/// </summary> | ||
public String cityName { get; set; } | ||
|
||
/// <summary> | ||
/// County | ||
/// </summary> | ||
public String countyName { get; set; } | ||
|
||
/// <summary> | ||
/// Effective Date | ||
/// </summary> | ||
public DateTime? effDate { get; set; } | ||
|
||
/// <summary> | ||
/// End date | ||
/// </summary> | ||
public DateTime? endDate { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// Convert this object to a JSON string of itself | ||
/// </summary> | ||
/// <returns>A JSON string of this object</returns> | ||
public override string ToString() | ||
{ | ||
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented }); | ||
} | ||
} | ||
} |
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,135 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
/* | ||
* AvaTax API Client Library | ||
* | ||
* (c) 2004-2023 Avalara, Inc. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Jonathan Wenger <[email protected]> | ||
* @author Sachin Baijal <[email protected]> | ||
* Swagger name: AvaTaxClient | ||
*/ | ||
|
||
namespace Avalara.AvaTax.RestClient | ||
{ | ||
/// <summary> | ||
/// A flattened model for State Config. | ||
/// </summary> | ||
public class ComplianceStateConfigModel | ||
{ | ||
/// <summary> | ||
/// The Id of the StateConfig. | ||
/// </summary> | ||
public Int64? stateConfigId { get; set; } | ||
|
||
/// <summary> | ||
/// The Effective Date | ||
/// </summary> | ||
public DateTime? effDate { get; set; } | ||
|
||
/// <summary> | ||
/// The End Date | ||
/// </summary> | ||
public DateTime? endDate { get; set; } | ||
|
||
/// <summary> | ||
/// Has Boundary | ||
/// </summary> | ||
public Boolean? hasBoundary { get; set; } | ||
|
||
/// <summary> | ||
/// Has Rates | ||
/// </summary> | ||
public Boolean? hasRates { get; set; } | ||
|
||
/// <summary> | ||
/// Is Local Admin | ||
/// </summary> | ||
public Boolean? isLocalAdmin { get; set; } | ||
|
||
/// <summary> | ||
/// Is Local Nexus | ||
/// </summary> | ||
public Boolean? isLocalNexus { get; set; } | ||
|
||
/// <summary> | ||
/// IsSerState | ||
/// </summary> | ||
public Boolean? isSerState { get; set; } | ||
|
||
/// <summary> | ||
/// Min Boundary LevelId | ||
/// </summary> | ||
public Int32? minBoundaryLevelId { get; set; } | ||
|
||
/// <summary> | ||
/// Sst Status Id | ||
/// </summary> | ||
public Int32? sstStatusId { get; set; } | ||
|
||
/// <summary> | ||
/// Short name of State. | ||
/// </summary> | ||
public String state { get; set; } | ||
|
||
/// <summary> | ||
/// StateFips | ||
/// </summary> | ||
public String stateFips { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the State. | ||
/// </summary> | ||
public String stateName { get; set; } | ||
|
||
/// <summary> | ||
/// Boundary Table BaseName | ||
/// </summary> | ||
public String boundaryTableBaseName { get; set; } | ||
|
||
/// <summary> | ||
/// STJCount | ||
/// </summary> | ||
public Int32? stjCount { get; set; } | ||
|
||
/// <summary> | ||
/// TsState Id | ||
/// </summary> | ||
public String tsStateId { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the country. | ||
/// </summary> | ||
public String country { get; set; } | ||
|
||
/// <summary> | ||
/// IsJaasEnabled | ||
/// </summary> | ||
public Int32? isJaasEnabled { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the country. | ||
/// </summary> | ||
public Boolean? hasSSTBoundary { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the country. | ||
/// </summary> | ||
public DateTime? modifiedDate { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// Convert this object to a JSON string of itself | ||
/// </summary> | ||
/// <returns>A JSON string of this object</returns> | ||
public override string ToString() | ||
{ | ||
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented }); | ||
} | ||
} | ||
} |
Oops, something went wrong.