Skip to content

Commit

Permalink
Changes generated by 7292088086958f410d7f1677f33c2bf228b3004f
Browse files Browse the repository at this point in the history
This commit was automatically created from gocardless/gocardless-dotnet-template@7292088
by the `push-files` action.

Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/12988597201
  • Loading branch information
gocardless-ci-robot[bot] committed Jan 27, 2025
1 parent 09d33f7 commit b6ba769
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions GoCardless/Resources/MandateImportEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ public class MandateImportEntry
[JsonProperty("links")]
public MandateImportEntryLinks Links { get; set; }

/// <summary>
/// Per-resource processing errors
/// </summary>
[JsonProperty("processing_errors")]
public IDictionary<string, string> ProcessingErrors { get; set; }

/// <summary>
/// A unique identifier for this entry, which you can use (once the
/// import has been
Expand Down
33 changes: 33 additions & 0 deletions GoCardless/Services/MandateImportEntryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,39 @@ public class MandateImportEntryListRequest
/// </summary>
[JsonProperty("mandate_import")]
public string MandateImport { get; set; }

/// <summary>
/// One of:
/// <ul>
/// <li>`sucessfully_processed`: the entry has been imported and the
/// associated records created.</li>
/// <li>`unsuccessfully_processed`: the entry could not be processed due
/// to an error, see the 'processing_errors' value</li>
/// </ul>
/// </summary>
[JsonProperty("status")]
public MandateImportEntryStatus? Status { get; set; }

/// <summary>
/// One of:
/// <ul>
/// <li>`sucessfully_processed`: the entry has been imported and the
/// associated records created.</li>
/// <li>`unsuccessfully_processed`: the entry could not be processed due
/// to an error, see the 'processing_errors' value</li>
/// </ul>
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum MandateImportEntryStatus
{

/// <summary>`status` with a value of "successfully_processed"</summary>
[EnumMember(Value = "successfully_processed")]
SuccessfullyProcessed,
/// <summary>`status` with a value of "unsuccessfully_processed"</summary>
[EnumMember(Value = "unsuccessfully_processed")]
UnsuccessfullyProcessed,
}
}

/// <summary>
Expand Down

0 comments on commit b6ba769

Please sign in to comment.