Skip to content

Commit

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

Workflow run: https://github.com/gocardless/gocardless-dotnet-template/actions/runs/12372790000
  • Loading branch information
gocardless-ci-robot[bot] committed Dec 17, 2024
1 parent 163a0b9 commit 29cf19e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GoCardless/Resources/BillingRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public class BillingRequestInstalmentScheduleRequest
/// information on how to specify instalments.
/// </summary>
[JsonProperty("instalments")]
public List<string> Instalments { get; set; }
public IDictionary<string, string> Instalments { get; set; }

/// <summary>
/// Resources linked to this BillingRequestInstalmentScheduleRequest.
Expand Down
2 changes: 1 addition & 1 deletion GoCardless/Services/BillingRequestService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public enum BillingRequestCurrency
/// more information on how to specify instalments.
/// </summary>
[JsonProperty("instalments")]
public string[] Instalments { get; set; }
public IDictionary<String, String> Instalments { get; set; }

/// <summary>
/// Key-value store of custom data. Up to 3 keys are permitted, with
Expand Down
7 changes: 6 additions & 1 deletion GoCardless/Services/InstalmentScheduleService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ public enum InstalmentScheduleCurrency

/// <summary>
/// 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)
/// </summary>
[JsonProperty("instalments")]
public InstalmentScheduleInstalments[] Instalments { get; set; }
Expand Down Expand Up @@ -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)
///
/// </summary>
[JsonProperty("instalments")]
Expand All @@ -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)
///
/// </summary>
public class InstalmentScheduleInstalments
Expand Down

0 comments on commit 29cf19e

Please sign in to comment.