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] 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