From 29cf19e6d2ac81eed9b984e0d3f50d189b7b4325 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:16:06 +0000 Subject: [PATCH 1/2] Changes generated by 49d2092ddcc454f9e4fbdecfca1ac6a482de52a5 This commit was automatically created from gocardless/gocardless-dotnet-template@49d2092ddcc454f9e4fbdecfca1ac6a482de52a5 by the `push-files` action. Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/12372790000 --- GoCardless/Resources/BillingRequest.cs | 2 +- GoCardless/Services/BillingRequestService.cs | 2 +- GoCardless/Services/InstalmentScheduleService.cs | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/GoCardless/Resources/BillingRequest.cs b/GoCardless/Resources/BillingRequest.cs index 2b3df9f..ce20669 100644 --- a/GoCardless/Resources/BillingRequest.cs +++ b/GoCardless/Resources/BillingRequest.cs @@ -438,7 +438,7 @@ public class BillingRequestInstalmentScheduleRequest /// information on how to specify instalments. /// [JsonProperty("instalments")] - public List Instalments { get; set; } + public IDictionary Instalments { get; set; } /// /// Resources linked to this BillingRequestInstalmentScheduleRequest. diff --git a/GoCardless/Services/BillingRequestService.cs b/GoCardless/Services/BillingRequestService.cs index 08a1561..4a61f3e 100644 --- a/GoCardless/Services/BillingRequestService.cs +++ b/GoCardless/Services/BillingRequestService.cs @@ -465,7 +465,7 @@ public enum BillingRequestCurrency /// more information on how to specify instalments. /// [JsonProperty("instalments")] - public string[] Instalments { get; set; } + public IDictionary Instalments { get; set; } /// /// Key-value store of custom data. Up to 3 keys are permitted, with diff --git a/GoCardless/Services/InstalmentScheduleService.cs b/GoCardless/Services/InstalmentScheduleService.cs index 1a6c0a0..ac0e5c0 100644 --- a/GoCardless/Services/InstalmentScheduleService.cs +++ b/GoCardless/Services/InstalmentScheduleService.cs @@ -315,7 +315,8 @@ public enum InstalmentScheduleCurrency /// /// An explicit array of instalment payments, each specifying at least - /// an `amount` and `charge_date`. + /// an `amount` and `charge_date`. See [create (with + /// dates)](#instalment-schedules-create-with-dates) /// [JsonProperty("instalments")] public InstalmentScheduleInstalments[] Instalments { get; set; } @@ -523,6 +524,8 @@ public enum InstalmentScheduleCurrency /// of payment /// amounts to be collected, with a specified start date for the first /// payment. + /// See [create (with + /// schedule)](#instalment-schedules-create-with-schedule) /// /// [JsonProperty("instalments")] @@ -532,6 +535,8 @@ public enum InstalmentScheduleCurrency /// of payment /// amounts to be collected, with a specified start date for the first /// payment. + /// See [create (with + /// schedule)](#instalment-schedules-create-with-schedule) /// /// public class InstalmentScheduleInstalments From fdb341589bb198001ea70823a08c8a78942810de Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:39:22 +0000 Subject: [PATCH 2/2] Changes generated by e152072607e67eb1266d8432ffe748613ce736a3 This commit was automatically created from gocardless/gocardless-dotnet-template@e152072607e67eb1266d8432ffe748613ce736a3 by the `push-files` action. Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/12429065510 --- GoCardless/Services/MandatePdfService.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/GoCardless/Services/MandatePdfService.cs b/GoCardless/Services/MandatePdfService.cs index a7d02b2..996674f 100644 --- a/GoCardless/Services/MandatePdfService.cs +++ b/GoCardless/Services/MandatePdfService.cs @@ -286,6 +286,13 @@ public enum MandatePdfAccountType public class MandatePdfLinks { + /// + /// ID of an existing [creditor](#core-endpoints-creditors). Only + /// required if your account manages multiple creditors. + /// + [JsonProperty("creditor")] + public string Creditor { get; set; } + /// /// ID of an existing [mandate](#core-endpoints-mandates) to build /// the PDF from. The customer's bank details will be censored in