-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
258 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
title: AccountsError | ||
--- | ||
|
||
The `AccountsError` class represents an error description as returned by some operations of the accounts endpoint of the GoCardless API. | ||
|
||
## Properties | ||
|
||
### `Summary` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The summary text of the error. | ||
|
||
### `Detail` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The detailed description of the error. | ||
|
||
### `Type` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The type of the error. | ||
|
||
### `StartDateError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the [`AccountsEndpoint.GetTransactions`](/docs/api-reference/endpoints/accounts-endpoint#gettransactions) method because the start date value was not accepted. | ||
|
||
### `EndDateError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the [`AccountsEndpoint.GetTransactions`](/docs/api-reference/endpoints/accounts-endpoint#gettransactions) method because the end date value was not accepted. | ||
|
||
## Constructor | ||
|
||
```csharp | ||
public AccountsError(string summary, string detail, string? type, | ||
BasicResponse? startDateError, BasicResponse? endDateError) | ||
``` | ||
|
||
### Parameters | ||
|
||
#### `summary` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The summary text of the error. | ||
|
||
#### `detail` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The detailed description of the error. | ||
|
||
#### `type` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The type of the error. | ||
|
||
#### `startDateError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the [`AccountsEndpoint.GetTransactions`](/docs/api-reference/endpoints/accounts-endpoint#gettransactions) method because the start date value was not accepted. | ||
|
||
#### `endDateError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the [`AccountsEndpoint.GetTransactions`](/docs/api-reference/endpoints/accounts-endpoint#gettransactions) method because the end date value was not accepted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
title: CreateAgreementError | ||
--- | ||
|
||
The `CreateAgreementError` class represents an error description as returned by the create operation of the agreements endpoint of the GoCardless API. | ||
|
||
## Properties | ||
|
||
### `Summary` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The summary text of the error. | ||
|
||
### `Detail` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The detailed description of the error. | ||
|
||
### `InstitutionIdError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the institutionId sent during the request. | ||
|
||
### `AccessScopeError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the accessScope property sent during the request. | ||
|
||
### `MaxHistoricalDaysError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the maxHistoricalDays property sent during the request. | ||
|
||
### `AccessValidForDaysError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the accessValidForDays property sent during the request. | ||
|
||
### `AgreementError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the institutionId property sent during the request. | ||
|
||
## Constructor | ||
|
||
```csharp | ||
public CreateAgreementError( | ||
string? summary, string? detail, BasicResponse? institutionIdError, | ||
BasicResponse? accessScopeError, BasicResponse? maxHistoricalDaysError, | ||
BasicResponse? accessValidForDaysError, BasicResponse? agreementError) | ||
``` | ||
|
||
### Parameters | ||
|
||
#### `summary` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The summary text of the error. | ||
|
||
#### `detail` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The detailed description of the error. | ||
|
||
#### `institutionIdError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the institutionId sent during the request. | ||
|
||
#### `accessScopeError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the accessScope property sent during the request. | ||
|
||
#### `maxHistoricalDaysError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the maxHistoricalDays property sent during the request. | ||
|
||
#### `accessValidForDaysError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the accessValidForDays property sent during the request. | ||
|
||
#### `agreementError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the institutionId property sent during the request. |
90 changes: 90 additions & 0 deletions
90
docs/docs/api-reference/errors/create-requisition-error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
title: CreateRequisitionError | ||
--- | ||
|
||
The `CreateRequisitionError` class represents an error description as returned by the create operation of the requisitions endpoint of the GoCardless API. | ||
|
||
## Properties | ||
|
||
### `Summary` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The summary text of the error. | ||
|
||
### `Detail` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The detailed description of the error. | ||
|
||
### `ReferenceError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the reference property sent during the request. | ||
|
||
### `UserLanguageError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the userLanguage property sent during the request. | ||
|
||
### `AgreementError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the agreementId property sent during the request. | ||
|
||
### `RedirectError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the redirect property sent during the request. | ||
|
||
### `SocialSecurityNumberError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the socialSecurityNumber property sent during the request. | ||
|
||
### `AccountSelectionError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the accountSelection property sent during the request. | ||
|
||
### `InstitutionIdError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the institutionId property sent during the request. | ||
|
||
## Constructor | ||
|
||
```csharp | ||
public CreateRequisitionError(string? summary, string? detail, BasicResponse? referenceError, | ||
BasicResponse? userLanguageError, BasicResponse? agreementError, BasicResponse? redirectError, | ||
BasicResponse? socialSecurityNumberError, BasicResponse? accountSelectionError, | ||
BasicResponse? institutionIdError) | ||
``` | ||
|
||
### Parameters | ||
|
||
#### `summary` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The summary text of the error. | ||
|
||
#### `detail` - [string](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/reference-types#the-string-type)? | ||
|
||
The detailed description of the error. | ||
|
||
#### `referenceError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the reference property sent during the request. | ||
|
||
#### `userLanguageError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the userLanguage property sent during the request. | ||
|
||
#### `agreementError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the agreementId property sent during the request. | ||
|
||
#### `redirectError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the redirect property sent during the request. | ||
|
||
#### `socialSecurityNumberError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the socialSecurityNumber property sent during the request. | ||
|
||
#### `accountSelectionError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the accountSelection property sent during the request. | ||
|
||
#### `institutionIdError` - [BasicResponse](/docs/api-reference/responses/basic-response)? | ||
|
||
An error that was returned related to the institutionId property sent during the request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.