-
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 #254 from avadev/24.11.2
Update for 24.11.2
- Loading branch information
Showing
14 changed files
with
396 additions
and
138 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using System; | ||
|
||
/* | ||
* 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> | ||
/// Defines returns liability type. | ||
/// </summary> | ||
public enum ReturnsLiabilityType | ||
{ | ||
/// <summary> | ||
/// all | ||
/// </summary> | ||
ALL = 0, | ||
|
||
/// <summary> | ||
/// original | ||
/// </summary> | ||
ORIGINAL = 1, | ||
|
||
/// <summary> | ||
/// amend | ||
/// </summary> | ||
AMENDED = 2, | ||
|
||
} | ||
} |
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,39 @@ | ||
using System; | ||
|
||
/* | ||
* 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> | ||
/// Defines returns report type. | ||
/// </summary> | ||
public enum ReturnsReportType | ||
{ | ||
/// <summary> | ||
/// liability summary return detail hospitality | ||
/// </summary> | ||
LIABILITYSUMMARYRETURNDETAILHOSPITALITY = 0, | ||
|
||
/// <summary> | ||
/// liability summary return detail | ||
/// </summary> | ||
LIABILITYSUMMARYRETURNDETAIL = 1, | ||
|
||
/// <summary> | ||
/// liability carry over credit | ||
/// </summary> | ||
LIABILITYCARRYOVERCREDIT = 2, | ||
|
||
} | ||
} |
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
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,70 @@ | ||
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> | ||
/// The model for liability parameters definitions | ||
/// </summary> | ||
public class LiabilityParametersModel | ||
{ | ||
/// <summary> | ||
/// The type of Returns liability report to be generated | ||
/// </summary> | ||
public ReturnsLiabilityType? liabilityType { get; set; } | ||
|
||
/// <summary> | ||
/// The type of Returns report to be generated | ||
/// </summary> | ||
public ReturnsReportType? returnsReportType { get; set; } | ||
|
||
/// <summary> | ||
/// The Hospitality Account ID with Subscription Type as AvaLoding | ||
/// </summary> | ||
public Int32? hospitalityAccountId { get; set; } | ||
|
||
/// <summary> | ||
/// Filter report based on the year | ||
/// </summary> | ||
public Int32? year { get; set; } | ||
|
||
/// <summary> | ||
/// Filter report based on the month | ||
/// </summary> | ||
public object month { get; set; } | ||
|
||
/// <summary> | ||
/// Filter report based on the country code | ||
/// </summary> | ||
public String country { get; set; } | ||
|
||
/// <summary> | ||
/// Filter report based on the region code or state code | ||
/// </summary> | ||
public String region { 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