Skip to content

Commit 6cf0c18

Browse files
Merge pull request #85 from pagarme/CodeGen-NetStandard
Adding property legal_name with sdk version 6.8.16
2 parents 33315a2 + adb3b08 commit 6cf0c18

File tree

279 files changed

+12486
-12763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

279 files changed

+12486
-12763
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ License:
33
The MIT License (MIT)
44
http://opensource.org/licenses/MIT
55

6-
Copyright (c) 2014 - 2024 APIMATIC Limited
6+
Copyright (c) 2014 - 2025 APIMATIC Limited
77

88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal

PagarmeApiSDK.Standard/Controllers/BalanceOperationsController.cs

+26-26
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,6 @@ internal class BalanceOperationsController : BaseController, IBalanceOperationsC
3232
/// </summary>
3333
internal BalanceOperationsController(GlobalConfiguration globalConfiguration) : base(globalConfiguration) { }
3434

35-
/// <summary>
36-
/// GetBalanceOperationById EndPoint.
37-
/// </summary>
38-
/// <param name="id">Required parameter: Example: .</param>
39-
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
40-
public Models.GetBalanceOperationResponse GetBalanceOperationById(
41-
long id)
42-
=> CoreHelper.RunTask(GetBalanceOperationByIdAsync(id));
43-
44-
/// <summary>
45-
/// GetBalanceOperationById EndPoint.
46-
/// </summary>
47-
/// <param name="id">Required parameter: Example: .</param>
48-
/// <param name="cancellationToken"> cancellationToken. </param>
49-
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
50-
public async Task<Models.GetBalanceOperationResponse> GetBalanceOperationByIdAsync(
51-
long id,
52-
CancellationToken cancellationToken = default)
53-
=> await CreateApiCall<Models.GetBalanceOperationResponse>()
54-
.RequestBuilder(_requestBuilder => _requestBuilder
55-
.Setup(HttpMethod.Get, "/balance/operations/{id}")
56-
.WithAuth("httpBasic")
57-
.Parameters(_parameters => _parameters
58-
.Template(_template => _template.Setup("id", id))))
59-
.ExecuteAsync(cancellationToken).ConfigureAwait(false);
60-
6135
/// <summary>
6236
/// GetBalanceOperations EndPoint.
6337
/// </summary>
@@ -98,5 +72,31 @@ public Models.ListBalanceOperationResponse GetBalanceOperations(
9872
.Query(_query => _query.Setup("created_until", createdUntil.HasValue ? createdUntil.Value.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK") : null))
9973
.Query(_query => _query.Setup("recipient_id", recipientId))))
10074
.ExecuteAsync(cancellationToken).ConfigureAwait(false);
75+
76+
/// <summary>
77+
/// GetBalanceOperationById EndPoint.
78+
/// </summary>
79+
/// <param name="id">Required parameter: Example: .</param>
80+
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
81+
public Models.GetBalanceOperationResponse GetBalanceOperationById(
82+
long id)
83+
=> CoreHelper.RunTask(GetBalanceOperationByIdAsync(id));
84+
85+
/// <summary>
86+
/// GetBalanceOperationById EndPoint.
87+
/// </summary>
88+
/// <param name="id">Required parameter: Example: .</param>
89+
/// <param name="cancellationToken"> cancellationToken. </param>
90+
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
91+
public async Task<Models.GetBalanceOperationResponse> GetBalanceOperationByIdAsync(
92+
long id,
93+
CancellationToken cancellationToken = default)
94+
=> await CreateApiCall<Models.GetBalanceOperationResponse>()
95+
.RequestBuilder(_requestBuilder => _requestBuilder
96+
.Setup(HttpMethod.Get, "/balance/operations/{id}")
97+
.WithAuth("httpBasic")
98+
.Parameters(_parameters => _parameters
99+
.Template(_template => _template.Setup("id", id))))
100+
.ExecuteAsync(cancellationToken).ConfigureAwait(false);
101101
}
102102
}

PagarmeApiSDK.Standard/Controllers/ChargesController.cs

+188-188
Large diffs are not rendered by default.

PagarmeApiSDK.Standard/Controllers/CustomersController.cs

+273-273
Large diffs are not rendered by default.

PagarmeApiSDK.Standard/Controllers/IBalanceOperationsController.cs

+18-18
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,6 @@ namespace PagarmeApiSDK.Standard.Controllers
2222
/// </summary>
2323
public interface IBalanceOperationsController
2424
{
25-
/// <summary>
26-
/// GetBalanceOperationById EndPoint.
27-
/// </summary>
28-
/// <param name="id">Required parameter: Example: .</param>
29-
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
30-
Models.GetBalanceOperationResponse GetBalanceOperationById(
31-
long id);
32-
33-
/// <summary>
34-
/// GetBalanceOperationById EndPoint.
35-
/// </summary>
36-
/// <param name="id">Required parameter: Example: .</param>
37-
/// <param name="cancellationToken"> cancellationToken. </param>
38-
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
39-
Task<Models.GetBalanceOperationResponse> GetBalanceOperationByIdAsync(
40-
long id,
41-
CancellationToken cancellationToken = default);
42-
4325
/// <summary>
4426
/// GetBalanceOperations EndPoint.
4527
/// </summary>
@@ -69,5 +51,23 @@ Models.ListBalanceOperationResponse GetBalanceOperations(
6951
DateTime? createdUntil = null,
7052
string recipientId = null,
7153
CancellationToken cancellationToken = default);
54+
55+
/// <summary>
56+
/// GetBalanceOperationById EndPoint.
57+
/// </summary>
58+
/// <param name="id">Required parameter: Example: .</param>
59+
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
60+
Models.GetBalanceOperationResponse GetBalanceOperationById(
61+
long id);
62+
63+
/// <summary>
64+
/// GetBalanceOperationById EndPoint.
65+
/// </summary>
66+
/// <param name="id">Required parameter: Example: .</param>
67+
/// <param name="cancellationToken"> cancellationToken. </param>
68+
/// <returns>Returns the Models.GetBalanceOperationResponse response from the API call.</returns>
69+
Task<Models.GetBalanceOperationResponse> GetBalanceOperationByIdAsync(
70+
long id,
71+
CancellationToken cancellationToken = default);
7272
}
7373
}

0 commit comments

Comments
 (0)