-
Notifications
You must be signed in to change notification settings - Fork 0
/
api_exchange_service.go
64 lines (48 loc) · 2.97 KB
/
api_exchange_service.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Cloud API
*
* The public facing API through which connectors are exposed as a single abtract API
*
* API version: v1.5
* Contact: support@trexis.net
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package finite
import (
"context"
"errors"
"net/http"
)
// ExchangeApiService is a service that implents the logic for the ExchangeApiServicer
// This service should implement the business logic for every endpoint for the ExchangeApi API.
// Include any external packages or services that will be required by this service.
type ExchangeApiService struct {
}
// NewExchangeApiService creates a default api service
func NewExchangeApiService() ExchangeApiServicer {
return &ExchangeApiService{}
}
// DeleteExchangeTransaction - Perform exchange delete, for money movement
func (s *ExchangeApiService) DeleteExchangeTransaction(ctx context.Context, exchangeId string, xTRACEID string, xTOKEN string) (ImplResponse, error) {
return Response(http.StatusNotImplemented, nil), errors.New("DeleteExchangeTransaction method not implemented")
}
// GetExchangeTransaction - Return a given exchange transaction
func (s *ExchangeApiService) GetExchangeTransaction(ctx context.Context, exchangeId string, mask bool, enhance bool, xTRACEID string, xTOKEN string) (ImplResponse, error) {
return Response(http.StatusNotImplemented, nil), errors.New("GetExchangeTransaction method not implemented")
}
// ListAccountExchangeTransactions - List of scheduled and past exchange transaction for a given account
func (s *ExchangeApiService) ListAccountExchangeTransactions(ctx context.Context, accountId string, limit int32, cursor string, mask bool, enhance bool, xTRACEID string, xTOKEN string) (ImplResponse, error) {
return Response(http.StatusNotImplemented, nil), errors.New("ListAccountExchangeTransactions method not implemented")
}
// ListEntityExchangeTransactions - List of scheduled and past exchange transaction for a given entity
func (s *ExchangeApiService) ListEntityExchangeTransactions(ctx context.Context, entityId string, limit int32, cursor string, mask bool, enhance bool, xTRACEID string, xTOKEN string) (ImplResponse, error) {
return Response(http.StatusNotImplemented, nil), errors.New("ListEntityExchangeTransactions method not implemented")
}
// PerformExchangeTransaction - Perform exchange, for money movement
func (s *ExchangeApiService) PerformExchangeTransaction(ctx context.Context, xTRACEID string, xTOKEN string, exchangeTransaction ExchangeTransaction) (ImplResponse, error) {
return Response(http.StatusNotImplemented, nil), errors.New("PerformExchangeTransaction method not implemented")
}
// UpdateExchangeTransaction - Perform exchange update, for money movement
func (s *ExchangeApiService) UpdateExchangeTransaction(ctx context.Context, exchangeId string, xTRACEID string, xTOKEN string, exchangeTransaction ExchangeTransaction) (ImplResponse, error) {
return Response(http.StatusNotImplemented, nil), errors.New("UpdateExchangeTransaction method not implemented")
}