@@ -32,32 +32,6 @@ internal class BalanceOperationsController : BaseController, IBalanceOperationsC
32
32
/// </summary>
33
33
internal BalanceOperationsController ( GlobalConfiguration globalConfiguration ) : base ( globalConfiguration ) { }
34
34
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
-
61
35
/// <summary>
62
36
/// GetBalanceOperations EndPoint.
63
37
/// </summary>
@@ -98,5 +72,31 @@ public Models.ListBalanceOperationResponse GetBalanceOperations(
98
72
. Query ( _query => _query . Setup ( "created_until" , createdUntil . HasValue ? createdUntil . Value . ToString ( "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK" ) : null ) )
99
73
. Query ( _query => _query . Setup ( "recipient_id" , recipientId ) ) ) )
100
74
. 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 ) ;
101
101
}
102
102
}
0 commit comments