Exemplo n.º 1
0
        /// <summary>
        /// Get a specific transfer
        /// </summary>
        /// <exception cref="Transferwise.Services.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="transferId">The id of the transfer to retrieve</param>
        /// <returns>Task of Transfer</returns>
        public async System.Threading.Tasks.Task <Transfer> GetTransferByIdAsync(decimal transferId)
        {
            Transferwise.Services.Client.ApiResponse <Transfer> localVarResponse = await GetTransferByIdAsyncWithHttpInfo(transferId);

            return(localVarResponse.Data);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Get a specific transfer
 /// </summary>
 /// <exception cref="Transferwise.Services.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="transferId">The id of the transfer to retrieve</param>
 /// <returns>Transfer</returns>
 public Transfer GetTransferById(decimal transferId)
 {
     Transferwise.Services.Client.ApiResponse <Transfer> localVarResponse = GetTransferByIdWithHttpInfo(transferId);
     return(localVarResponse.Data);
 }