-
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 #231 from avadev/23.7.0
Update for 23.7.0
- Loading branch information
Showing
10 changed files
with
575 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
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> | ||
/// Represents the Country coefficients model, using which tax rules rates can be modified dynamically for CB transaciotns while applying tax rules | ||
/// in order to reduce the variance for all the transactions at country level. | ||
/// </summary> | ||
public class CountryCoefficientsEntity | ||
{ | ||
/// <summary> | ||
/// CoefficientsId | ||
/// </summary> | ||
public Int32? coefficientsId { get; set; } | ||
|
||
/// <summary> | ||
/// AccountId | ||
/// </summary> | ||
public Int32? accountId { get; set; } | ||
|
||
/// <summary> | ||
/// The CompanyId of company for which coefficient will be applied. | ||
/// </summary> | ||
public Int32? companyId { get; set; } | ||
|
||
/// <summary> | ||
/// The country for which coefficient will be applied. | ||
/// </summary> | ||
public String country { get; set; } | ||
|
||
/// <summary> | ||
/// Value by which rates need to be altered while calculating taxes. | ||
/// </summary> | ||
public Decimal? coefficient { get; set; } | ||
|
||
/// <summary> | ||
/// TaxSubTypeId | ||
/// </summary> | ||
public String taxSubTypeId { get; set; } | ||
|
||
/// <summary> | ||
/// CurrencyCode | ||
/// </summary> | ||
public String currencyCode { get; set; } | ||
|
||
/// <summary> | ||
/// UnitOfBasisId | ||
/// </summary> | ||
public Int32? unitOfBasisId { get; set; } | ||
|
||
/// <summary> | ||
/// IsApplicable | ||
/// Flag that is being used to mark the effectiveness of the specific entry for the particular date. | ||
/// </summary> | ||
public Boolean? isApplicable { get; set; } | ||
|
||
/// <summary> | ||
/// ModifiedDate | ||
/// </summary> | ||
public DateTime? modifiedDate { get; set; } | ||
|
||
/// <summary> | ||
/// StartDate | ||
/// </summary> | ||
public DateTime? startDate { get; set; } | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public DateTime? endDate { get; set; } | ||
|
||
/// <summary> | ||
/// ModifiedUserId. | ||
/// | ||
/// To track the user by which the records have been modified in the past. | ||
/// This will allow us to track the historical changes made to particular record. | ||
/// </summary> | ||
public Int32? modifiedUserId { get; set; } | ||
|
||
/// <summary> | ||
/// StartDate | ||
/// </summary> | ||
public DateTime? createdDate { get; set; } | ||
|
||
/// <summary> | ||
/// CreatedUserId. | ||
/// | ||
/// To track the user who created the record at first place | ||
/// </summary> | ||
public Int32? createdUserId { 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,46 @@ | ||
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> | ||
/// Represents the Country coefficients request input model, using which tax rules rates can be modified dynamically for CB transaciotns while applying tax rules | ||
/// in order to reduce the variance for all the transactions at country level. | ||
/// </summary> | ||
public class CountryCoefficientsRequestEntity | ||
{ | ||
/// <summary> | ||
/// AccountId | ||
/// </summary> | ||
public Int32 accountId { get; set; } | ||
|
||
/// <summary> | ||
/// CountryCoefficientsRequestModel list | ||
/// </summary> | ||
public List<CountryCoefficientsRequestModel> coefficientDetails { 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,82 @@ | ||
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> | ||
/// Represents the Country coefficients model, using which tax rules rates can be modified dynamically for CB transaciotns while applying tax rules | ||
/// in order to reduce the variance for all the transactions at country level. | ||
/// </summary> | ||
public class CountryCoefficientsRequestModel | ||
{ | ||
/// <summary> | ||
/// CompanyCode | ||
/// </summary> | ||
public String companyCode { get; set; } | ||
|
||
/// <summary> | ||
/// The country for which coefficient will be applied. | ||
/// </summary> | ||
public String country { get; set; } | ||
|
||
/// <summary> | ||
/// Value by which rates need to be altered while calculating taxes. | ||
/// </summary> | ||
public Decimal coefficient { get; set; } | ||
|
||
/// <summary> | ||
/// TaxSubTypeId | ||
/// </summary> | ||
public String taxSubTypeId { get; set; } | ||
|
||
/// <summary> | ||
/// CurrencyCode | ||
/// </summary> | ||
public String currencyCode { get; set; } | ||
|
||
/// <summary> | ||
/// UnitOfBasisId | ||
/// </summary> | ||
public Int32 unitOfBasisId { get; set; } | ||
|
||
/// <summary> | ||
/// IsApplicable | ||
/// Flag that is being used to mark the effectiveness of the specific entry for the particular date. | ||
/// </summary> | ||
public Boolean isApplicable { get; set; } | ||
|
||
/// <summary> | ||
/// StartDate | ||
/// </summary> | ||
public DateTime startDate { get; set; } | ||
|
||
/// <summary> | ||
/// | ||
/// </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,49 @@ | ||
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> | ||
/// Represents the coefficient, using which tax rules rates can be modified dynamically while applying tax rules | ||
/// in order to reduce the variance for all the transactions at country level. | ||
/// | ||
/// Avalara supports a few different types of tax rules. For information about tax rule types, see | ||
/// [TaxRuleTypeId](https://developer.avalara.com/cofficients) | ||
/// </summary> | ||
public class CountryCoefficientsResponseModel | ||
{ | ||
/// <summary> | ||
/// Total Number of Country Coefficients records inserted/updated. | ||
/// </summary> | ||
public Int32? count { get; set; } | ||
|
||
/// <summary> | ||
/// Message | ||
/// </summary> | ||
public String message { 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
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