From 63f7309be53a5485d5a87e25e6133fdb37db7bae Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Wed, 13 May 2026 09:20:51 +0000 Subject: [PATCH 1/3] Changes generated by fe5b9706d5cd471e209b7dbeb90ac9927ef6da5d This commit was automatically created from gocardless/client-library-templates@fe5b9706d5cd471e209b7dbeb90ac9927ef6da5d by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/25789979725 --- .../com/gocardless/resources/CustomerBankAccount.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/gocardless/resources/CustomerBankAccount.java b/src/main/java/com/gocardless/resources/CustomerBankAccount.java index ee7d762d..e064d414 100644 --- a/src/main/java/com/gocardless/resources/CustomerBankAccount.java +++ b/src/main/java/com/gocardless/resources/CustomerBankAccount.java @@ -36,6 +36,7 @@ private CustomerBankAccount() { private String id; private Links links; private Map metadata; + private Boolean trustedRecipient; /** * Name of the account holder, as known by the bank. The full name provided when the customer is @@ -129,6 +130,14 @@ public Map getMetadata() { return metadata; } + /** + * Whether this customer bank account is registered as a trusted recipient for Outbound + * Payments. Only present when the feature is enabled for the organisation. + */ + public Boolean getTrustedRecipient() { + return trustedRecipient; + } + public enum AccountType { @SerializedName("savings") SAVINGS, @SerializedName("checking") From 2430cc8de78ac0ff253e84d6b4d4e62a471f4475 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 13:46:59 +0000 Subject: [PATCH 2/3] Changes generated by 6ca63e56bfca4f8ea6d5563c1df8ddc59404db3c This commit was automatically created from gocardless/client-library-templates@6ca63e56bfca4f8ea6d5563c1df8ddc59404db3c by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/25863477354 --- .../com/gocardless/resources/Balance.java | 2 +- .../gocardless/resources/BillingRequest.java | 22 ++++++----- .../resources/BillingRequestFlow.java | 2 +- .../resources/BillingRequestTemplate.java | 14 ++++--- .../resources/BillingRequestWithAction.java | 22 ++++++----- .../com/gocardless/resources/Creditor.java | 12 +++--- .../resources/CreditorBankAccount.java | 4 +- .../com/gocardless/resources/Customer.java | 4 +- .../resources/CustomerBankAccount.java | 4 +- .../resources/InstalmentSchedule.java | 2 +- .../com/gocardless/resources/Institution.java | 2 +- .../resources/NegativeBalanceLimit.java | 2 +- .../gocardless/resources/OutboundPayment.java | 4 +- .../resources/OutboundPaymentImport.java | 4 +- .../resources/PayerAuthorisation.java | 6 +-- .../com/gocardless/resources/Payment.java | 4 +- .../gocardless/resources/PaymentAccount.java | 2 +- .../java/com/gocardless/resources/Payout.java | 11 +++--- .../com/gocardless/resources/PayoutItem.java | 4 +- .../java/com/gocardless/resources/Refund.java | 4 +- .../resources/SchemeIdentifier.java | 2 +- .../gocardless/resources/Subscription.java | 2 +- .../resources/VerificationDetail.java | 2 +- .../services/BankDetailsLookupService.java | 2 +- .../services/BillingRequestFlowService.java | 4 +- .../services/BillingRequestService.java | 38 ++++++++++--------- .../BillingRequestTemplateService.java | 20 ++++++---- .../BillingRequestWithActionService.java | 24 ++++++------ .../services/CreditorBankAccountService.java | 4 +- .../gocardless/services/CreditorService.java | 4 +- .../services/CustomerBankAccountService.java | 4 +- .../gocardless/services/CustomerService.java | 10 ++--- .../services/InstalmentScheduleService.java | 4 +- .../services/InstitutionService.java | 4 +- .../services/MandateImportEntryService.java | 12 +++--- .../services/MandatePdfService.java | 6 +-- .../services/NegativeBalanceLimitService.java | 2 +- .../services/OutboundPaymentService.java | 4 +- .../services/PayerAuthorisationService.java | 24 ++++++------ .../gocardless/services/PaymentService.java | 4 +- .../gocardless/services/PayoutService.java | 2 +- .../services/RedirectFlowService.java | 8 ++-- .../services/SubscriptionService.java | 2 +- .../services/VerificationDetailService.java | 2 +- 44 files changed, 168 insertions(+), 153 deletions(-) diff --git a/src/main/java/com/gocardless/resources/Balance.java b/src/main/java/com/gocardless/resources/Balance.java index ddab602e..782f46e4 100644 --- a/src/main/java/com/gocardless/resources/Balance.java +++ b/src/main/java/com/gocardless/resources/Balance.java @@ -49,7 +49,7 @@ public BalanceType getBalanceType() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public Currency getCurrency() { diff --git a/src/main/java/com/gocardless/resources/BillingRequest.java b/src/main/java/com/gocardless/resources/BillingRequest.java index 6650dfa6..32c6f714 100644 --- a/src/main/java/com/gocardless/resources/BillingRequest.java +++ b/src/main/java/com/gocardless/resources/BillingRequest.java @@ -495,7 +495,7 @@ public Integer getAppFee() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "USD" and "CAD" are supported. */ public String getCurrency() { @@ -894,7 +894,7 @@ public Constraints getConstraints() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public String getCurrency() { return currency; @@ -1110,8 +1110,10 @@ public Alignment getAlignment() { } /** - * (Optional) The maximum number of payments that can be collected in this periodic - * limit. + * The maximum number of payments that can be collected in this periodic limit. + * _Note:_ Only supported for the PayTo scheme, where it is required. Providing this + * field for other VRP schemes will result in a validation error. + * */ public Integer getMaxPayments() { return maxPayments; @@ -1213,7 +1215,7 @@ public Integer getAppFee() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and * `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your customers in * supported Eurozone countries only. */ @@ -1407,7 +1409,7 @@ public String getId() { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not * send its own (see [compliance requirements](#appendix-compliance-requirements)). * Currently only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are @@ -1503,7 +1505,7 @@ public String getBankName() { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public String getCountryCode() { @@ -1519,7 +1521,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public String getCurrency() { @@ -1634,7 +1636,7 @@ public String getCity() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; @@ -1760,7 +1762,7 @@ public Integer getCount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "USD" and "CAD" are supported. */ public String getCurrency() { diff --git a/src/main/java/com/gocardless/resources/BillingRequestFlow.java b/src/main/java/com/gocardless/resources/BillingRequestFlow.java index 63e01714..77922702 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestFlow.java +++ b/src/main/java/com/gocardless/resources/BillingRequestFlow.java @@ -309,7 +309,7 @@ public String getCompanyName() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; diff --git a/src/main/java/com/gocardless/resources/BillingRequestTemplate.java b/src/main/java/com/gocardless/resources/BillingRequestTemplate.java index 8dcf681d..b58ef867 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestTemplate.java +++ b/src/main/java/com/gocardless/resources/BillingRequestTemplate.java @@ -73,7 +73,7 @@ public MandateRequestConstraints getMandateRequestConstraints() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public String getMandateRequestCurrency() { return mandateRequestCurrency; @@ -158,9 +158,9 @@ public String getPaymentRequestAmount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and `EUR` - * supported; `GBP` with your customers in the UK and for `EUR` with your customers in supported - * Eurozone countries only. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and + * `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your customers in + * supported Eurozone countries only. */ public String getPaymentRequestCurrency() { return paymentRequestCurrency; @@ -313,8 +313,10 @@ public Alignment getAlignment() { } /** - * (Optional) The maximum number of payments that can be collected in this periodic - * limit. + * The maximum number of payments that can be collected in this periodic limit. _Note:_ + * Only supported for the PayTo scheme, where it is required. Providing this field for + * other VRP schemes will result in a validation error. + * */ public Integer getMaxPayments() { return maxPayments; diff --git a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java index dc1545f2..3c3b8f6f 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java +++ b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java @@ -697,7 +697,7 @@ public Integer getAppFee() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "USD" and "CAD" are supported. */ public String getCurrency() { @@ -1098,7 +1098,7 @@ public Constraints getConstraints() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public String getCurrency() { return currency; @@ -1319,8 +1319,10 @@ public Alignment getAlignment() { } /** - * (Optional) The maximum number of payments that can be collected in this - * periodic limit. + * The maximum number of payments that can be collected in this periodic limit. + * _Note:_ Only supported for the PayTo scheme, where it is required. Providing + * this field for other VRP schemes will result in a validation error. + * */ public Integer getMaxPayments() { return maxPayments; @@ -1422,7 +1424,7 @@ public Integer getAppFee() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` * and `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your * customers in supported Eurozone countries only. */ @@ -1617,7 +1619,7 @@ public String getId() { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as * the language for notification emails sent by GoCardless if your organisation does * not send its own (see [compliance * requirements](#appendix-compliance-requirements)). Currently only "en", "fr", @@ -1714,7 +1716,7 @@ public String getBankName() { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public String getCountryCode() { @@ -1730,7 +1732,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are * supported. */ @@ -1846,7 +1848,7 @@ public String getCity() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; @@ -1973,7 +1975,7 @@ public Integer getCount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "USD" and "CAD" are supported. */ public String getCurrency() { diff --git a/src/main/java/com/gocardless/resources/Creditor.java b/src/main/java/com/gocardless/resources/Creditor.java index a1230496..6d583f72 100644 --- a/src/main/java/com/gocardless/resources/Creditor.java +++ b/src/main/java/com/gocardless/resources/Creditor.java @@ -89,7 +89,7 @@ public String getCity() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; @@ -119,10 +119,10 @@ public Boolean getCustomPaymentPagesEnabled() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in which - * amounts will be paid out (after foreign exchange). Currently "AUD", "CAD", "DKK", "EUR", - * "GBP", "NZD", "SEK" and "USD" are supported. Present only if payouts will be (or were) made - * via foreign exchange. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in + * which amounts will be paid out (after foreign exchange). Currently "AUD", "CAD", "DKK", + * "EUR", "GBP", "NZD", "SEK" and "USD" are supported. Present only if payouts will be (or were) + * made via foreign exchange. */ public FxPayoutCurrency getFxPayoutCurrency() { return fxPayoutCurrency; @@ -396,7 +396,7 @@ public String getCity() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; diff --git a/src/main/java/com/gocardless/resources/CreditorBankAccount.java b/src/main/java/com/gocardless/resources/CreditorBankAccount.java index 63a81e00..ff78a649 100644 --- a/src/main/java/com/gocardless/resources/CreditorBankAccount.java +++ b/src/main/java/com/gocardless/resources/CreditorBankAccount.java @@ -71,7 +71,7 @@ public String getBankName() { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public String getCountryCode() { @@ -86,7 +86,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public String getCurrency() { diff --git a/src/main/java/com/gocardless/resources/Customer.java b/src/main/java/com/gocardless/resources/Customer.java index 018d7fd1..cc6d0098 100644 --- a/src/main/java/com/gocardless/resources/Customer.java +++ b/src/main/java/com/gocardless/resources/Customer.java @@ -73,7 +73,7 @@ public String getCompanyName() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; @@ -124,7 +124,7 @@ public String getId() { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the language + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the language * for notification emails sent by GoCardless if your organisation does not send its own (see * [compliance requirements](#appendix-compliance-requirements)). Currently only "en", "fr", * "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are supported. If this is not provided, diff --git a/src/main/java/com/gocardless/resources/CustomerBankAccount.java b/src/main/java/com/gocardless/resources/CustomerBankAccount.java index e064d414..f9ae38e3 100644 --- a/src/main/java/com/gocardless/resources/CustomerBankAccount.java +++ b/src/main/java/com/gocardless/resources/CustomerBankAccount.java @@ -82,7 +82,7 @@ public String getBankName() { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public String getCountryCode() { @@ -97,7 +97,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public String getCurrency() { diff --git a/src/main/java/com/gocardless/resources/InstalmentSchedule.java b/src/main/java/com/gocardless/resources/InstalmentSchedule.java index 47135d25..9d53f9c1 100644 --- a/src/main/java/com/gocardless/resources/InstalmentSchedule.java +++ b/src/main/java/com/gocardless/resources/InstalmentSchedule.java @@ -42,7 +42,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public Currency getCurrency() { diff --git a/src/main/java/com/gocardless/resources/Institution.java b/src/main/java/com/gocardless/resources/Institution.java index 4acafb73..78c30860 100644 --- a/src/main/java/com/gocardless/resources/Institution.java +++ b/src/main/java/com/gocardless/resources/Institution.java @@ -37,7 +37,7 @@ public Boolean getAutocompletesCollectBankAccount() { /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. The country code of the institution. If nothing is provided, institutions with * the country code 'GB' are returned by default. */ diff --git a/src/main/java/com/gocardless/resources/NegativeBalanceLimit.java b/src/main/java/com/gocardless/resources/NegativeBalanceLimit.java index bc9aeb94..cdf490ce 100644 --- a/src/main/java/com/gocardless/resources/NegativeBalanceLimit.java +++ b/src/main/java/com/gocardless/resources/NegativeBalanceLimit.java @@ -36,7 +36,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public Currency getCurrency() { diff --git a/src/main/java/com/gocardless/resources/OutboundPayment.java b/src/main/java/com/gocardless/resources/OutboundPayment.java index c704dd71..0be6d4c9 100644 --- a/src/main/java/com/gocardless/resources/OutboundPayment.java +++ b/src/main/java/com/gocardless/resources/OutboundPayment.java @@ -54,8 +54,8 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency. Currently only "GBP" - * is supported. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency. Currently only + * "GBP" is supported. */ public Currency getCurrency() { return currency; diff --git a/src/main/java/com/gocardless/resources/OutboundPaymentImport.java b/src/main/java/com/gocardless/resources/OutboundPaymentImport.java index ab01a04a..c7303747 100644 --- a/src/main/java/com/gocardless/resources/OutboundPaymentImport.java +++ b/src/main/java/com/gocardless/resources/OutboundPaymentImport.java @@ -57,8 +57,8 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency. Currently only "GBP" - * is supported. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency. Currently only + * "GBP" is supported. */ public Currency getCurrency() { return currency; diff --git a/src/main/java/com/gocardless/resources/PayerAuthorisation.java b/src/main/java/com/gocardless/resources/PayerAuthorisation.java index 6efbbe11..2f18baf6 100644 --- a/src/main/java/com/gocardless/resources/PayerAuthorisation.java +++ b/src/main/java/com/gocardless/resources/PayerAuthorisation.java @@ -225,7 +225,7 @@ public String getBranchCode() { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public String getCountryCode() { @@ -233,7 +233,7 @@ public String getCountryCode() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public String getCurrency() { @@ -331,7 +331,7 @@ public String getCompanyName() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; diff --git a/src/main/java/com/gocardless/resources/Payment.java b/src/main/java/com/gocardless/resources/Payment.java index f93f45dd..712ba7d0 100644 --- a/src/main/java/com/gocardless/resources/Payment.java +++ b/src/main/java/com/gocardless/resources/Payment.java @@ -67,7 +67,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public Currency getCurrency() { @@ -252,7 +252,7 @@ public Integer getFxAmount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in * which amounts will be paid out (after foreign exchange). Currently "AUD", "CAD", "DKK", * "EUR", "GBP", "NZD", "SEK" and "USD" are supported. Present only if payouts will be (or * were) made via foreign exchange. diff --git a/src/main/java/com/gocardless/resources/PaymentAccount.java b/src/main/java/com/gocardless/resources/PaymentAccount.java index 67e2706d..70942fcd 100644 --- a/src/main/java/com/gocardless/resources/PaymentAccount.java +++ b/src/main/java/com/gocardless/resources/PaymentAccount.java @@ -52,7 +52,7 @@ public String getBankName() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public String getCurrency() { diff --git a/src/main/java/com/gocardless/resources/Payout.java b/src/main/java/com/gocardless/resources/Payout.java index 9d087c32..af3b6ea5 100644 --- a/src/main/java/com/gocardless/resources/Payout.java +++ b/src/main/java/com/gocardless/resources/Payout.java @@ -58,7 +58,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public Currency getCurrency() { @@ -132,9 +132,10 @@ public Status getStatus() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in which - * tax is paid out to the tax authorities of your tax jurisdiction. Currently “EUR”, “GBP”, for - * French or British merchants, this will be `null` if tax is not applicable beta + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in + * which tax is paid out to the tax authorities of your tax jurisdiction. Currently “EUR”, + * “GBP”, for French or British merchants, this will be `null` if tax is not applicable + * beta */ public String getTaxCurrency() { return taxCurrency; @@ -209,7 +210,7 @@ public Integer getFxAmount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in * which amounts will be paid out (after foreign exchange). Currently "AUD", "CAD", "DKK", * "EUR", "GBP", "NZD", "SEK" and "USD" are supported. Present only if payouts will be (or * were) made via foreign exchange. diff --git a/src/main/java/com/gocardless/resources/PayoutItem.java b/src/main/java/com/gocardless/resources/PayoutItem.java index a6bc6e6c..126a3687 100644 --- a/src/main/java/com/gocardless/resources/PayoutItem.java +++ b/src/main/java/com/gocardless/resources/PayoutItem.java @@ -168,7 +168,7 @@ public String getAmount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public Currency getCurrency() { @@ -188,7 +188,7 @@ public String getDestinationAmount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in * which tax is paid out to the tax authorities of your tax jurisdiction. Currently “EUR” * for French merchants and “GBP” for British merchants. */ diff --git a/src/main/java/com/gocardless/resources/Refund.java b/src/main/java/com/gocardless/resources/Refund.java index 787b4ad2..cc4dd0fc 100644 --- a/src/main/java/com/gocardless/resources/Refund.java +++ b/src/main/java/com/gocardless/resources/Refund.java @@ -42,7 +42,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. This is set to + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. This is set to * the currency of the refund's [payment](#core-endpoints-payments). */ public String getCurrency() { @@ -170,7 +170,7 @@ public Integer getFxAmount() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) code for the currency in * which amounts will be paid out (after foreign exchange). Currently "AUD", "CAD", "DKK", * "EUR", "GBP", "NZD", "SEK" and "USD" are supported. Present only if payouts will be (or * were) made via foreign exchange. diff --git a/src/main/java/com/gocardless/resources/SchemeIdentifier.java b/src/main/java/com/gocardless/resources/SchemeIdentifier.java index 9394b14b..e3f4655d 100644 --- a/src/main/java/com/gocardless/resources/SchemeIdentifier.java +++ b/src/main/java/com/gocardless/resources/SchemeIdentifier.java @@ -70,7 +70,7 @@ public String getCity() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; diff --git a/src/main/java/com/gocardless/resources/Subscription.java b/src/main/java/com/gocardless/resources/Subscription.java index 69729820..ada34d0d 100644 --- a/src/main/java/com/gocardless/resources/Subscription.java +++ b/src/main/java/com/gocardless/resources/Subscription.java @@ -99,7 +99,7 @@ public String getCreatedAt() { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public String getCurrency() { diff --git a/src/main/java/com/gocardless/resources/VerificationDetail.java b/src/main/java/com/gocardless/resources/VerificationDetail.java index 71eaa6d8..d0538d52 100644 --- a/src/main/java/com/gocardless/resources/VerificationDetail.java +++ b/src/main/java/com/gocardless/resources/VerificationDetail.java @@ -123,7 +123,7 @@ public String getCity() { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public String getCountryCode() { return countryCode; diff --git a/src/main/java/com/gocardless/services/BankDetailsLookupService.java b/src/main/java/com/gocardless/services/BankDetailsLookupService.java index f6336246..7e86c1da 100644 --- a/src/main/java/com/gocardless/services/BankDetailsLookupService.java +++ b/src/main/java/com/gocardless/services/BankDetailsLookupService.java @@ -121,7 +121,7 @@ public BankDetailsLookupCreateRequest withBranchCode(String branchCode) { /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. Must be provided if specifying local details. */ public BankDetailsLookupCreateRequest withCountryCode(String countryCode) { diff --git a/src/main/java/com/gocardless/services/BillingRequestFlowService.java b/src/main/java/com/gocardless/services/BillingRequestFlowService.java index 92ecd394..8c0dd055 100644 --- a/src/main/java/com/gocardless/services/BillingRequestFlowService.java +++ b/src/main/java/com/gocardless/services/BillingRequestFlowService.java @@ -252,7 +252,7 @@ public BillingRequestFlowCreateRequest withPrefilledCustomerCompanyName( /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public BillingRequestFlowCreateRequest withPrefilledCustomerCountryCode( String countryCode) { @@ -511,7 +511,7 @@ public PrefilledCustomer withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public PrefilledCustomer withCountryCode(String countryCode) { this.countryCode = countryCode; diff --git a/src/main/java/com/gocardless/services/BillingRequestService.java b/src/main/java/com/gocardless/services/BillingRequestService.java index 1ca4e925..fe047773 100644 --- a/src/main/java/com/gocardless/services/BillingRequestService.java +++ b/src/main/java/com/gocardless/services/BillingRequestService.java @@ -215,7 +215,7 @@ public BillingRequestCreateRequest withInstalmentScheduleRequestAppFee(Integer a } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "USD" and "CAD" are supported. */ public BillingRequestCreateRequest withInstalmentScheduleRequestCurrency(String currency) { @@ -419,7 +419,7 @@ public BillingRequestCreateRequest withMandateRequestConstraints(Constraints con } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public BillingRequestCreateRequest withMandateRequestCurrency(String currency) { if (mandateRequest == null) { @@ -618,7 +618,7 @@ public BillingRequestCreateRequest withPaymentRequestAppFee(Integer appFee) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and * `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your customers in * supported Eurozone countries only. */ @@ -776,7 +776,7 @@ public BillingRequestCreateRequest withSubscriptionRequestCount(Integer count) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public BillingRequestCreateRequest withSubscriptionRequestCurrency(String currency) { @@ -1183,7 +1183,7 @@ public InstalmentScheduleRequest withAppFee(Integer appFee) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "USD" and "CAD" are supported. */ public InstalmentScheduleRequest withCurrency(String currency) { @@ -1323,8 +1323,10 @@ public PeriodicLimits withAlignment(Alignment alignment) { } /** - * (Optional) The maximum number of payments that can be collected in this periodic - * limit. + * The maximum number of payments that can be collected in this periodic limit. _Note:_ + * Only supported for the PayTo scheme, where it is required. Providing this field for + * other VRP schemes will result in a validation error. + * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { this.maxPayments = maxPayments; @@ -1527,7 +1529,7 @@ public MandateRequest withConstraints(Constraints constraints) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public MandateRequest withCurrency(String currency) { this.currency = currency; @@ -1698,7 +1700,7 @@ public PaymentRequest withAppFee(Integer appFee) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` * and `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your * customers in supported Eurozone countries only. */ @@ -1834,7 +1836,7 @@ public SubscriptionRequest withCount(Integer count) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public SubscriptionRequest withCurrency(String currency) { @@ -2045,7 +2047,7 @@ public BillingRequestCollectCustomerDetailsRequest withCustomerGivenName(String } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not send * its own (see [compliance requirements](#appendix-compliance-requirements)). Currently * only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are supported. If @@ -2142,7 +2144,7 @@ public BillingRequestCollectCustomerDetailsRequest withCustomerBillingDetailCity /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public BillingRequestCollectCustomerDetailsRequest withCustomerBillingDetailCountryCode( String countryCode) { @@ -2314,7 +2316,7 @@ public Customer withGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not * send its own (see [compliance requirements](#appendix-compliance-requirements)). * Currently only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are @@ -2392,7 +2394,7 @@ public CustomerBillingDetail withCity(String city) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public CustomerBillingDetail withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -2553,7 +2555,7 @@ public BillingRequestCollectBankAccountRequest withBranchCode(String branchCode) /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public BillingRequestCollectBankAccountRequest withCountryCode(String countryCode) { @@ -2562,7 +2564,7 @@ public BillingRequestCollectBankAccountRequest withCountryCode(String countryCod } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public BillingRequestCollectBankAccountRequest withCurrency(String currency) { @@ -3198,7 +3200,7 @@ public static final class BillingRequestChooseCurrencyRequest private Map metadata; /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public BillingRequestChooseCurrencyRequest withCurrency(String currency) { @@ -3285,7 +3287,7 @@ public static final class BillingRequestSelectInstitutionRequest /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. The country code of the institution. If nothing is provided, institutions * with the country code 'GB' are returned by default. */ diff --git a/src/main/java/com/gocardless/services/BillingRequestTemplateService.java b/src/main/java/com/gocardless/services/BillingRequestTemplateService.java index 53261738..5a814eb9 100644 --- a/src/main/java/com/gocardless/services/BillingRequestTemplateService.java +++ b/src/main/java/com/gocardless/services/BillingRequestTemplateService.java @@ -320,7 +320,7 @@ public BillingRequestTemplateCreateRequest withMandateRequestConstraintsStartDat } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public BillingRequestTemplateCreateRequest withMandateRequestCurrency( String mandateRequestCurrency) { @@ -445,7 +445,7 @@ public BillingRequestTemplateCreateRequest withPaymentRequestAmount( } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and * `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your customers in * supported Eurozone countries only. */ @@ -608,8 +608,10 @@ public PeriodicLimits withAlignment(Alignment alignment) { } /** - * (Optional) The maximum number of payments that can be collected in this periodic - * limit. + * The maximum number of payments that can be collected in this periodic limit. _Note:_ + * Only supported for the PayTo scheme, where it is required. Providing this field for + * other VRP schemes will result in a validation error. + * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { this.maxPayments = maxPayments; @@ -850,7 +852,7 @@ public BillingRequestTemplateUpdateRequest withMandateRequestConstraintsStartDat } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public BillingRequestTemplateUpdateRequest withMandateRequestCurrency( String mandateRequestCurrency) { @@ -975,7 +977,7 @@ public BillingRequestTemplateUpdateRequest withPaymentRequestAmount( } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and * `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your customers in * supported Eurozone countries only. */ @@ -1117,8 +1119,10 @@ public PeriodicLimits withAlignment(Alignment alignment) { } /** - * (Optional) The maximum number of payments that can be collected in this periodic - * limit. + * The maximum number of payments that can be collected in this periodic limit. _Note:_ + * Only supported for the PayTo scheme, where it is required. Providing this field for + * other VRP schemes will result in a validation error. + * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { this.maxPayments = maxPayments; diff --git a/src/main/java/com/gocardless/services/BillingRequestWithActionService.java b/src/main/java/com/gocardless/services/BillingRequestWithActionService.java index 66083e37..0191bc45 100644 --- a/src/main/java/com/gocardless/services/BillingRequestWithActionService.java +++ b/src/main/java/com/gocardless/services/BillingRequestWithActionService.java @@ -223,7 +223,7 @@ public BillingRequestWithActionCreateWithActionsRequest withMandateRequestConstr } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public BillingRequestWithActionCreateWithActionsRequest withMandateRequestCurrency( String currency) { @@ -434,7 +434,7 @@ public BillingRequestWithActionCreateWithActionsRequest withPaymentRequestAppFee } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` and * `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your customers in * supported Eurozone countries only. */ @@ -739,7 +739,7 @@ public CollectBankAccount withBranchCode(String branchCode) { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public CollectBankAccount withCountryCode(String countryCode) { @@ -748,7 +748,7 @@ public CollectBankAccount withCountryCode(String countryCode) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public CollectBankAccount withCurrency(String currency) { @@ -882,7 +882,7 @@ public Customer withGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not * send its own (see [compliance requirements](#appendix-compliance-requirements)). * Currently only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are @@ -986,7 +986,7 @@ public CustomerBillingDetail withCity(String city) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public CustomerBillingDetail withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -1156,7 +1156,7 @@ public static class SelectInstitution { /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. The country code of the institution. If nothing is provided, * institutions with the country code 'GB' are returned by default. */ @@ -1288,8 +1288,10 @@ public PeriodicLimits withAlignment(Alignment alignment) { } /** - * (Optional) The maximum number of payments that can be collected in this periodic - * limit. + * The maximum number of payments that can be collected in this periodic limit. _Note:_ + * Only supported for the PayTo scheme, where it is required. Providing this field for + * other VRP schemes will result in a validation error. + * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { this.maxPayments = maxPayments; @@ -1479,7 +1481,7 @@ public MandateRequest withConstraints(Constraints constraints) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. */ public MandateRequest withCurrency(String currency) { this.currency = currency; @@ -1650,7 +1652,7 @@ public PaymentRequest withAppFee(Integer appFee) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. `GBP` * and `EUR` supported; `GBP` with your customers in the UK and for `EUR` with your * customers in supported Eurozone countries only. */ diff --git a/src/main/java/com/gocardless/services/CreditorBankAccountService.java b/src/main/java/com/gocardless/services/CreditorBankAccountService.java index 17b23d32..35f8b688 100644 --- a/src/main/java/com/gocardless/services/CreditorBankAccountService.java +++ b/src/main/java/com/gocardless/services/CreditorBankAccountService.java @@ -144,7 +144,7 @@ public CreditorBankAccountCreateRequest withBranchCode(String branchCode) { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public CreditorBankAccountCreateRequest withCountryCode(String countryCode) { @@ -153,7 +153,7 @@ public CreditorBankAccountCreateRequest withCountryCode(String countryCode) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public CreditorBankAccountCreateRequest withCurrency(String currency) { diff --git a/src/main/java/com/gocardless/services/CreditorService.java b/src/main/java/com/gocardless/services/CreditorService.java index 9e6f2fb3..6f442726 100644 --- a/src/main/java/com/gocardless/services/CreditorService.java +++ b/src/main/java/com/gocardless/services/CreditorService.java @@ -89,7 +89,7 @@ public CreditorCreateRequest withBankReferencePrefix(String bankReferencePrefix) /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public CreditorCreateRequest withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -473,7 +473,7 @@ public CreditorUpdateRequest withCity(String city) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public CreditorUpdateRequest withCountryCode(String countryCode) { this.countryCode = countryCode; diff --git a/src/main/java/com/gocardless/services/CustomerBankAccountService.java b/src/main/java/com/gocardless/services/CustomerBankAccountService.java index 6e95c65a..3522c73f 100644 --- a/src/main/java/com/gocardless/services/CustomerBankAccountService.java +++ b/src/main/java/com/gocardless/services/CustomerBankAccountService.java @@ -174,7 +174,7 @@ public CustomerBankAccountCreateRequest withBranchCode(String branchCode) { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public CustomerBankAccountCreateRequest withCountryCode(String countryCode) { @@ -183,7 +183,7 @@ public CustomerBankAccountCreateRequest withCountryCode(String countryCode) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public CustomerBankAccountCreateRequest withCurrency(String currency) { diff --git a/src/main/java/com/gocardless/services/CustomerService.java b/src/main/java/com/gocardless/services/CustomerService.java index 28c2c3fa..9bbba6c9 100644 --- a/src/main/java/com/gocardless/services/CustomerService.java +++ b/src/main/java/com/gocardless/services/CustomerService.java @@ -140,7 +140,7 @@ public CustomerCreateRequest withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public CustomerCreateRequest withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -182,7 +182,7 @@ public CustomerCreateRequest withGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not send * its own (see [compliance requirements](#appendix-compliance-requirements)). Currently * only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are supported. If @@ -382,7 +382,7 @@ public CustomerListRequest withCreatedAtLte(String lte) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public CustomerListRequest withCurrency(Currency currency) { @@ -694,7 +694,7 @@ public CustomerUpdateRequest withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public CustomerUpdateRequest withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -736,7 +736,7 @@ public CustomerUpdateRequest withGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not send * its own (see [compliance requirements](#appendix-compliance-requirements)). Currently * only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are supported. If diff --git a/src/main/java/com/gocardless/services/InstalmentScheduleService.java b/src/main/java/com/gocardless/services/InstalmentScheduleService.java index e563850c..7139fb23 100644 --- a/src/main/java/com/gocardless/services/InstalmentScheduleService.java +++ b/src/main/java/com/gocardless/services/InstalmentScheduleService.java @@ -143,7 +143,7 @@ public InstalmentScheduleCreateWithDatesRequest withAppFee(Integer appFee) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public InstalmentScheduleCreateWithDatesRequest withCurrency(Currency currency) { @@ -423,7 +423,7 @@ public InstalmentScheduleCreateWithScheduleRequest withAppFee(Integer appFee) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public InstalmentScheduleCreateWithScheduleRequest withCurrency(Currency currency) { diff --git a/src/main/java/com/gocardless/services/InstitutionService.java b/src/main/java/com/gocardless/services/InstitutionService.java index 2b950d34..037d301c 100644 --- a/src/main/java/com/gocardless/services/InstitutionService.java +++ b/src/main/java/com/gocardless/services/InstitutionService.java @@ -74,7 +74,7 @@ public InstitutionListRequest withBranchCode(String branchCode) { /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. The country code of the institution. If nothing is provided, institutions * with the country code 'GB' are returned by default. */ @@ -166,7 +166,7 @@ public static final class InstitutionListForBillingRequestRequest /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. The country code of the institution. If nothing is provided, institutions * with the country code 'GB' are returned by default. */ diff --git a/src/main/java/com/gocardless/services/MandateImportEntryService.java b/src/main/java/com/gocardless/services/MandateImportEntryService.java index b5fed44f..5b4b5c6b 100644 --- a/src/main/java/com/gocardless/services/MandateImportEntryService.java +++ b/src/main/java/com/gocardless/services/MandateImportEntryService.java @@ -212,7 +212,7 @@ public MandateImportEntryCreateRequest withBankAccountBranchCode(String branchCo /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public MandateImportEntryCreateRequest withBankAccountCountryCode(String countryCode) { @@ -316,7 +316,7 @@ public MandateImportEntryCreateRequest withCustomerCompanyName(String companyNam /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public MandateImportEntryCreateRequest withCustomerCountryCode(String countryCode) { if (customer == null) { @@ -374,7 +374,7 @@ public MandateImportEntryCreateRequest withCustomerGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not send * its own (see [compliance requirements](#appendix-compliance-requirements)). Currently * only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are supported. If @@ -652,7 +652,7 @@ public BankAccount withBranchCode(String branchCode) { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public BankAccount withCountryCode(String countryCode) { @@ -758,7 +758,7 @@ public Customer withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public Customer withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -800,7 +800,7 @@ public Customer withGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. Used as the * language for notification emails sent by GoCardless if your organisation does not * send its own (see [compliance requirements](#appendix-compliance-requirements)). * Currently only "en", "fr", "de", "pt", "es", "it", "nl", "da", "nb", "sl", "sv" are diff --git a/src/main/java/com/gocardless/services/MandatePdfService.java b/src/main/java/com/gocardless/services/MandatePdfService.java index f81e501e..a22ef4a7 100644 --- a/src/main/java/com/gocardless/services/MandatePdfService.java +++ b/src/main/java/com/gocardless/services/MandatePdfService.java @@ -31,7 +31,7 @@ public MandatePdfService(HttpClient httpClient) { * * To generate a PDF mandate in another language, set the `Accept-Language` header when creating * the PDF mandate to the relevant [ISO - * 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code supported for the + * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code supported for the * scheme. * * | Scheme | Supported languages | | :--------------- | @@ -58,7 +58,7 @@ public MandatePdfCreateRequest create() { * * To generate a PDF mandate in another language, set the `Accept-Language` header when creating * the PDF mandate to the relevant [ISO - * 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code supported for the + * 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code supported for the * scheme. * * | Scheme | Supported languages | | :--------------- | @@ -196,7 +196,7 @@ public MandatePdfCreateRequest withCompanyName(String companyName) { /** * [ISO - * 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) * alpha-2 code. Required if providing local details. */ public MandatePdfCreateRequest withCountryCode(String countryCode) { diff --git a/src/main/java/com/gocardless/services/NegativeBalanceLimitService.java b/src/main/java/com/gocardless/services/NegativeBalanceLimitService.java index cfbb5967..75bbbe8e 100644 --- a/src/main/java/com/gocardless/services/NegativeBalanceLimitService.java +++ b/src/main/java/com/gocardless/services/NegativeBalanceLimitService.java @@ -76,7 +76,7 @@ public NegativeBalanceLimitListRequest withCreditor(String creditor) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public NegativeBalanceLimitListRequest withCurrency(Currency currency) { diff --git a/src/main/java/com/gocardless/services/OutboundPaymentService.java b/src/main/java/com/gocardless/services/OutboundPaymentService.java index f38fc345..78e2a716 100644 --- a/src/main/java/com/gocardless/services/OutboundPaymentService.java +++ b/src/main/java/com/gocardless/services/OutboundPaymentService.java @@ -60,7 +60,7 @@ public OutboundPaymentCancelRequest cancel(String identity) { } /** - * Approves an outbound payment. Only outbound payments with the “pending_approval” status can + * Approves an outbound payment. Only outbound payments with the "pending_approval" status can * be approved. */ public OutboundPaymentApproveRequest approve(String identity) { @@ -540,7 +540,7 @@ protected String getRequestEnvelope() { /** * Request class for {@link OutboundPaymentService#approve }. * - * Approves an outbound payment. Only outbound payments with the “pending_approval” status can + * Approves an outbound payment. Only outbound payments with the "pending_approval" status can * be approved. */ public static final class OutboundPaymentApproveRequest extends PostRequest { diff --git a/src/main/java/com/gocardless/services/PayerAuthorisationService.java b/src/main/java/com/gocardless/services/PayerAuthorisationService.java index 796ba0a9..7319d697 100644 --- a/src/main/java/com/gocardless/services/PayerAuthorisationService.java +++ b/src/main/java/com/gocardless/services/PayerAuthorisationService.java @@ -284,7 +284,7 @@ public PayerAuthorisationCreateRequest withBankAccountBranchCode(String branchCo /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public PayerAuthorisationCreateRequest withBankAccountCountryCode(String countryCode) { @@ -296,7 +296,7 @@ public PayerAuthorisationCreateRequest withBankAccountCountryCode(String country } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public PayerAuthorisationCreateRequest withBankAccountCurrency(String currency) { @@ -401,7 +401,7 @@ public PayerAuthorisationCreateRequest withCustomerCompanyName(String companyNam /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public PayerAuthorisationCreateRequest withCustomerCountryCode(String countryCode) { if (customer == null) { @@ -708,7 +708,7 @@ public BankAccount withBranchCode(String branchCode) { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public BankAccount withCountryCode(String countryCode) { @@ -717,7 +717,7 @@ public BankAccount withCountryCode(String countryCode) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public BankAccount withCurrency(String currency) { @@ -820,7 +820,7 @@ public Customer withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public Customer withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -1104,7 +1104,7 @@ public PayerAuthorisationUpdateRequest withBankAccountBranchCode(String branchCo /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public PayerAuthorisationUpdateRequest withBankAccountCountryCode(String countryCode) { @@ -1116,7 +1116,7 @@ public PayerAuthorisationUpdateRequest withBankAccountCountryCode(String country } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public PayerAuthorisationUpdateRequest withBankAccountCurrency(String currency) { @@ -1221,7 +1221,7 @@ public PayerAuthorisationUpdateRequest withCustomerCompanyName(String companyNam /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public PayerAuthorisationUpdateRequest withCustomerCountryCode(String countryCode) { if (customer == null) { @@ -1522,7 +1522,7 @@ public BankAccount withBranchCode(String branchCode) { /** * [ISO 3166-1 alpha-2 - * code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). + * code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements). * Defaults to the country code of the `iban` if supplied, otherwise is required. */ public BankAccount withCountryCode(String countryCode) { @@ -1531,7 +1531,7 @@ public BankAccount withCountryCode(String countryCode) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. * Currently "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public BankAccount withCurrency(String currency) { @@ -1634,7 +1634,7 @@ public Customer withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public Customer withCountryCode(String countryCode) { this.countryCode = countryCode; diff --git a/src/main/java/com/gocardless/services/PaymentService.java b/src/main/java/com/gocardless/services/PaymentService.java index b331188b..692efae4 100644 --- a/src/main/java/com/gocardless/services/PaymentService.java +++ b/src/main/java/com/gocardless/services/PaymentService.java @@ -145,7 +145,7 @@ public PaymentCreateRequest withChargeDate(String chargeDate) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public PaymentCreateRequest withCurrency(Currency currency) { @@ -502,7 +502,7 @@ public PaymentListRequest withCreditor(String creditor) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public PaymentListRequest withCurrency(Currency currency) { diff --git a/src/main/java/com/gocardless/services/PayoutService.java b/src/main/java/com/gocardless/services/PayoutService.java index 7c240c00..f297a9ac 100644 --- a/src/main/java/com/gocardless/services/PayoutService.java +++ b/src/main/java/com/gocardless/services/PayoutService.java @@ -151,7 +151,7 @@ public PayoutListRequest withCreditorBankAccount(String creditorBankAccount) } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public PayoutListRequest withCurrency(Currency currency) { diff --git a/src/main/java/com/gocardless/services/RedirectFlowService.java b/src/main/java/com/gocardless/services/RedirectFlowService.java index 843b90ba..482c4432 100644 --- a/src/main/java/com/gocardless/services/RedirectFlowService.java +++ b/src/main/java/com/gocardless/services/RedirectFlowService.java @@ -246,7 +246,7 @@ public RedirectFlowCreateRequest withPrefilledCustomerCompanyName(String company /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public RedirectFlowCreateRequest withPrefilledCustomerCountryCode(String countryCode) { if (prefilledCustomer == null) { @@ -302,7 +302,7 @@ public RedirectFlowCreateRequest withPrefilledCustomerGivenName(String givenName } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. */ public RedirectFlowCreateRequest withPrefilledCustomerLanguage(String language) { if (prefilledCustomer == null) { @@ -548,7 +548,7 @@ public PrefilledCustomer withCompanyName(String companyName) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public PrefilledCustomer withCountryCode(String countryCode) { this.countryCode = countryCode; @@ -588,7 +588,7 @@ public PrefilledCustomer withGivenName(String givenName) { } /** - * [ISO 639-1](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. + * [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code. */ public PrefilledCustomer withLanguage(String language) { this.language = language; diff --git a/src/main/java/com/gocardless/services/SubscriptionService.java b/src/main/java/com/gocardless/services/SubscriptionService.java index 301a9ef0..cef96c9f 100644 --- a/src/main/java/com/gocardless/services/SubscriptionService.java +++ b/src/main/java/com/gocardless/services/SubscriptionService.java @@ -235,7 +235,7 @@ public SubscriptionCreateRequest withCount(Integer count) { } /** - * [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently + * [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency code. Currently * "AUD", "CAD", "DKK", "EUR", "GBP", "NZD", "SEK" and "USD" are supported. */ public SubscriptionCreateRequest withCurrency(String currency) { diff --git a/src/main/java/com/gocardless/services/VerificationDetailService.java b/src/main/java/com/gocardless/services/VerificationDetailService.java index 57901cd6..859f6a82 100644 --- a/src/main/java/com/gocardless/services/VerificationDetailService.java +++ b/src/main/java/com/gocardless/services/VerificationDetailService.java @@ -216,7 +216,7 @@ public Directors withCity(String city) { /** * [ISO 3166-1 alpha-2 - * code.](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) + * code.](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) */ public Directors withCountryCode(String countryCode) { this.countryCode = countryCode; From a42c8292e44ac5220d6c80bef88852e6add0e983 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 15:14:02 +0000 Subject: [PATCH 3/3] Changes generated by f8e5cc4daf64c360ba9e5c0a062265fce399032f This commit was automatically created from gocardless/client-library-templates@f8e5cc4daf64c360ba9e5c0a062265fce399032f by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/25867955166 --- src/main/java/com/gocardless/resources/BillingRequest.java | 3 +-- .../com/gocardless/resources/BillingRequestTemplate.java | 3 +-- .../com/gocardless/resources/BillingRequestWithAction.java | 3 +-- .../java/com/gocardless/services/BillingRequestService.java | 3 +-- .../gocardless/services/BillingRequestTemplateService.java | 6 ++---- .../services/BillingRequestWithActionService.java | 3 +-- 6 files changed, 7 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/gocardless/resources/BillingRequest.java b/src/main/java/com/gocardless/resources/BillingRequest.java index 32c6f714..9d58b671 100644 --- a/src/main/java/com/gocardless/resources/BillingRequest.java +++ b/src/main/java/com/gocardless/resources/BillingRequest.java @@ -1111,8 +1111,7 @@ public Alignment getAlignment() { /** * The maximum number of payments that can be collected in this periodic limit. - * _Note:_ Only supported for the PayTo scheme, where it is required. Providing this - * field for other VRP schemes will result in a validation error. + * _Note:_ Only supported for the PayTo scheme, where it is required. * */ public Integer getMaxPayments() { diff --git a/src/main/java/com/gocardless/resources/BillingRequestTemplate.java b/src/main/java/com/gocardless/resources/BillingRequestTemplate.java index b58ef867..9ae48c42 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestTemplate.java +++ b/src/main/java/com/gocardless/resources/BillingRequestTemplate.java @@ -314,8 +314,7 @@ public Alignment getAlignment() { /** * The maximum number of payments that can be collected in this periodic limit. _Note:_ - * Only supported for the PayTo scheme, where it is required. Providing this field for - * other VRP schemes will result in a validation error. + * Only supported for the PayTo scheme, where it is required. * */ public Integer getMaxPayments() { diff --git a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java index 3c3b8f6f..bfff0e61 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java +++ b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java @@ -1320,8 +1320,7 @@ public Alignment getAlignment() { /** * The maximum number of payments that can be collected in this periodic limit. - * _Note:_ Only supported for the PayTo scheme, where it is required. Providing - * this field for other VRP schemes will result in a validation error. + * _Note:_ Only supported for the PayTo scheme, where it is required. * */ public Integer getMaxPayments() { diff --git a/src/main/java/com/gocardless/services/BillingRequestService.java b/src/main/java/com/gocardless/services/BillingRequestService.java index fe047773..350008dd 100644 --- a/src/main/java/com/gocardless/services/BillingRequestService.java +++ b/src/main/java/com/gocardless/services/BillingRequestService.java @@ -1324,8 +1324,7 @@ public PeriodicLimits withAlignment(Alignment alignment) { /** * The maximum number of payments that can be collected in this periodic limit. _Note:_ - * Only supported for the PayTo scheme, where it is required. Providing this field for - * other VRP schemes will result in a validation error. + * Only supported for the PayTo scheme, where it is required. * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { diff --git a/src/main/java/com/gocardless/services/BillingRequestTemplateService.java b/src/main/java/com/gocardless/services/BillingRequestTemplateService.java index 5a814eb9..5b0dab12 100644 --- a/src/main/java/com/gocardless/services/BillingRequestTemplateService.java +++ b/src/main/java/com/gocardless/services/BillingRequestTemplateService.java @@ -609,8 +609,7 @@ public PeriodicLimits withAlignment(Alignment alignment) { /** * The maximum number of payments that can be collected in this periodic limit. _Note:_ - * Only supported for the PayTo scheme, where it is required. Providing this field for - * other VRP schemes will result in a validation error. + * Only supported for the PayTo scheme, where it is required. * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { @@ -1120,8 +1119,7 @@ public PeriodicLimits withAlignment(Alignment alignment) { /** * The maximum number of payments that can be collected in this periodic limit. _Note:_ - * Only supported for the PayTo scheme, where it is required. Providing this field for - * other VRP schemes will result in a validation error. + * Only supported for the PayTo scheme, where it is required. * */ public PeriodicLimits withMaxPayments(Integer maxPayments) { diff --git a/src/main/java/com/gocardless/services/BillingRequestWithActionService.java b/src/main/java/com/gocardless/services/BillingRequestWithActionService.java index 0191bc45..4c6bdf86 100644 --- a/src/main/java/com/gocardless/services/BillingRequestWithActionService.java +++ b/src/main/java/com/gocardless/services/BillingRequestWithActionService.java @@ -1289,8 +1289,7 @@ public PeriodicLimits withAlignment(Alignment alignment) { /** * The maximum number of payments that can be collected in this periodic limit. _Note:_ - * Only supported for the PayTo scheme, where it is required. Providing this field for - * other VRP schemes will result in a validation error. + * Only supported for the PayTo scheme, where it is required. * */ public PeriodicLimits withMaxPayments(Integer maxPayments) {