Skip to content

Commit

Permalink
Merge pull request #70 from pagarme/CodeGen-NetStandard
Browse files Browse the repository at this point in the history
  • Loading branch information
grazielcosta authored Jul 31, 2024
2 parents 28f45e7 + b77b061 commit d733bd0
Show file tree
Hide file tree
Showing 245 changed files with 3,189 additions and 3,115 deletions.
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/BalanceOperationsController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="BalanceOperationsController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
10 changes: 5 additions & 5 deletions PagarmeApiSDK.Standard/Controllers/BaseController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ internal class BaseController
/// <summary>
/// Initializes a new instance of the <see cref="BaseController"/> class.
/// </summary>
internal BaseController(GlobalConfiguration config) => globalConfiguration = config;

protected static ErrorCase<HttpRequest, HttpResponse, HttpContext, ApiException> CreateErrorCase(string reason, Func<string, HttpContext, ApiException> error, bool isErrorTemplate = false)
=> new ErrorCase<HttpRequest, HttpResponse, HttpContext, ApiException>(reason, error, isErrorTemplate);

internal BaseController(GlobalConfiguration config) => globalConfiguration = config;

protected static ErrorCase<HttpRequest, HttpResponse, HttpContext, ApiException> CreateErrorCase(string reason, Func<string, HttpContext, ApiException> error, bool isErrorTemplate = false)
=> new ErrorCase<HttpRequest, HttpResponse, HttpContext, ApiException>(reason, error, isErrorTemplate);

protected ApiCall<HttpRequest, HttpResponse, HttpContext, ApiException, T, T> CreateApiCall<T>(ArraySerialization arraySerialization = ArraySerialization.Indexed)
=> new ApiCall<HttpRequest, HttpResponse, HttpContext, ApiException, T, T>(
globalConfiguration,
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/ChargesController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="ChargesController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/CustomersController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="CustomersController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/InvoicesController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="InvoicesController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/OrdersController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="OrdersController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/PayablesController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="PayablesController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/PlansController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="PlansController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/RecipientsController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="RecipientsController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/SubscriptionsController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="SubscriptionsController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/TokensController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="TokensController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/TransactionsController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="TransactionsController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
22 changes: 11 additions & 11 deletions PagarmeApiSDK.Standard/Controllers/TransfersController.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// <copyright file="TransfersController.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PagarmeApiSDK.Standard.Controllers
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using APIMatic.Core;
using APIMatic.Core.Types;
using APIMatic.Core.Utilities;
Expand Down
Loading

0 comments on commit d733bd0

Please sign in to comment.