Skip to content

Commit

Permalink
Changes generated by 27dbffdcfe01c4622ddbe5426c13fa3091f56eb7
Browse files Browse the repository at this point in the history
  • Loading branch information
gocardless-ci-robot[bot] committed Dec 17, 2024
1 parent 2b5afcc commit 591645c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/gocardless/resources/BillingRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ private InstalmentScheduleRequest() {

private Integer appFee;
private Currency currency;
private List<String> instalments;
private Map<String, Object> instalments;
private Links links;
private Map<String, Object> metadata;
private String name;
Expand Down Expand Up @@ -438,7 +438,7 @@ public Currency getCurrency() {
* schedule)](#instalment-schedules-create-with-schedule) for more information on how to
* specify instalments.
*/
public List<String> getInstalments() {
public Map<String, Object> getInstalments() {
return instalments;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public BillingRequestCreateRequest withInstalmentScheduleRequestCurrency(
* specify instalments.
*/
public BillingRequestCreateRequest withInstalmentScheduleRequestInstalments(
List<String> instalments) {
Map<String, String> instalments) {
if (instalmentScheduleRequest == null) {
instalmentScheduleRequest = new InstalmentScheduleRequest();
}
Expand Down Expand Up @@ -893,7 +893,7 @@ public String toString() {
public static class InstalmentScheduleRequest {
private Integer appFee;
private Currency currency;
private List<String> instalments;
private Map<String, String> instalments;
private Map<String, String> metadata;
private String name;
private String paymentReference;
Expand Down Expand Up @@ -925,7 +925,7 @@ public InstalmentScheduleRequest withCurrency(Currency currency) {
* schedule)](#instalment-schedules-create-with-schedule) for more information on how to
* specify instalments.
*/
public InstalmentScheduleRequest withInstalments(List<String> instalments) {
public InstalmentScheduleRequest withInstalments(Map<String, String> instalments) {
this.instalments = instalments;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public InstalmentScheduleCreateWithDatesRequest withCurrency(Currency currency)

/**
* An explicit array of instalment payments, each specifying at least an `amount` and
* `charge_date`.
* `charge_date`. See [create (with dates)](#instalment-schedules-create-with-dates)
*/
public InstalmentScheduleCreateWithDatesRequest withInstalments(
List<Instalments> instalments) {
Expand All @@ -163,7 +163,7 @@ public InstalmentScheduleCreateWithDatesRequest withInstalments(

/**
* An explicit array of instalment payments, each specifying at least an `amount` and
* `charge_date`.
* `charge_date`. See [create (with dates)](#instalment-schedules-create-with-dates)
*/
public InstalmentScheduleCreateWithDatesRequest withInstalments(Instalments instalments) {
if (this.instalments == null) {
Expand Down Expand Up @@ -433,7 +433,8 @@ public InstalmentScheduleCreateWithScheduleRequest withCurrency(Currency currenc

/**
* Frequency of the payments you want to create, together with an array of payment amounts
* to be collected, with a specified start date for the first payment.
* to be collected, with a specified start date for the first payment. See [create (with
* schedule)](#instalment-schedules-create-with-schedule)
*
*/
public InstalmentScheduleCreateWithScheduleRequest withInstalments(
Expand Down

0 comments on commit 591645c

Please sign in to comment.