From 154721e96ff99867ac535fef221408037e8ea5aa Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 11:57:42 +0000 Subject: [PATCH] Changes generated by f6d96621c1e450bc0325664828bbdb9df7169b20 This commit was automatically created from gocardless/client-library-templates@f6d96621c1e450bc0325664828bbdb9df7169b20 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/40868931637 --- .../com/gocardless/resources/Balance.java | 6 +- .../resources/BankAuthorisation.java | 18 +- .../resources/BankDetailsLookup.java | 3 +- .../gocardless/resources/BillingRequest.java | 127 +++++++------ .../resources/BillingRequestFlow.java | 6 +- .../resources/BillingRequestTemplate.java | 4 +- .../resources/BillingRequestWithAction.java | 141 +++++++------- .../java/com/gocardless/resources/Block.java | 4 +- .../com/gocardless/resources/Creditor.java | 65 ++++--- .../resources/CreditorBankAccount.java | 20 +- .../com/gocardless/resources/Customer.java | 14 +- .../resources/CustomerBankAccount.java | 20 +- .../resources/CustomerNotification.java | 2 +- .../java/com/gocardless/resources/Event.java | 105 +++++------ .../java/com/gocardless/resources/Export.java | 2 +- .../resources/InstalmentSchedule.java | 16 +- .../com/gocardless/resources/Institution.java | 4 +- .../java/com/gocardless/resources/Logo.java | 6 +- .../com/gocardless/resources/Mandate.java | 28 +-- .../gocardless/resources/MandateImport.java | 22 +-- .../resources/MandateImportEntry.java | 12 +- .../com/gocardless/resources/MandatePdf.java | 4 +- .../resources/NegativeBalanceLimit.java | 5 +- .../gocardless/resources/OutboundPayment.java | 23 ++- .../resources/OutboundPaymentImport.java | 2 +- .../resources/OutboundPaymentImportEntry.java | 4 +- .../resources/PayerAuthorisation.java | 69 ++++--- .../com/gocardless/resources/Payment.java | 52 +++--- .../gocardless/resources/PaymentAccount.java | 14 +- .../resources/PaymentAccountTransaction.java | 10 +- .../java/com/gocardless/resources/Payout.java | 20 +- .../com/gocardless/resources/PayoutItem.java | 2 +- .../gocardless/resources/RedirectFlow.java | 48 ++--- .../java/com/gocardless/resources/Refund.java | 25 ++- .../resources/SchemeIdentifier.java | 6 +- .../gocardless/resources/Subscription.java | 26 +-- .../com/gocardless/resources/TaxRate.java | 5 +- .../resources/TransferredMandate.java | 2 +- .../resources/VerificationDetail.java | 3 +- .../com/gocardless/resources/Webhook.java | 2 +- .../gocardless/services/BalanceService.java | 7 +- .../services/BankAccountDetailService.java | 4 +- .../services/BankAuthorisationService.java | 14 +- .../services/BankDetailsLookupService.java | 32 ++-- .../services/BillingRequestFlowService.java | 12 +- .../services/BillingRequestService.java | 153 ++++++++------- .../BillingRequestTemplateService.java | 16 +- .../BillingRequestWithActionService.java | 89 +++++---- .../com/gocardless/services/BlockService.java | 4 +- .../services/CreditorBankAccountService.java | 46 +++-- .../gocardless/services/CreditorService.java | 77 ++++---- .../services/CurrencyExchangeRateService.java | 4 +- .../services/CustomerBankAccountService.java | 68 ++++--- .../gocardless/services/CustomerService.java | 16 +- .../com/gocardless/services/EventService.java | 43 ++--- .../services/InstalmentScheduleService.java | 79 ++++---- .../services/InstitutionService.java | 4 +- .../com/gocardless/services/LogoService.java | 10 +- .../services/MandateImportEntryService.java | 82 ++++---- .../services/MandateImportService.java | 20 +- .../services/MandatePdfService.java | 71 ++++--- .../gocardless/services/MandateService.java | 56 +++--- .../services/NegativeBalanceLimitService.java | 4 +- .../OutboundPaymentImportEntryService.java | 4 +- .../OutboundPaymentImportService.java | 4 +- .../services/OutboundPaymentService.java | 22 +-- .../services/PayerAuthorisationService.java | 176 +++++++++--------- .../services/PaymentAccountService.java | 9 +- .../PaymentAccountTransactionService.java | 5 +- .../gocardless/services/PaymentService.java | 59 +++--- .../services/PayoutItemService.java | 4 +- .../gocardless/services/PayoutService.java | 18 +- .../services/RedirectFlowService.java | 70 +++---- .../gocardless/services/RefundService.java | 31 ++- .../services/SchemeIdentifierService.java | 8 +- .../services/SubscriptionService.java | 54 +++--- .../gocardless/services/TaxRateService.java | 9 +- .../services/VerificationDetailService.java | 8 +- .../gocardless/services/WebhookService.java | 4 +- 79 files changed, 1124 insertions(+), 1219 deletions(-) diff --git a/src/main/java/com/gocardless/resources/Balance.java b/src/main/java/com/gocardless/resources/Balance.java index 23410189..e20e5c6e 100644 --- a/src/main/java/com/gocardless/resources/Balance.java +++ b/src/main/java/com/gocardless/resources/Balance.java @@ -60,7 +60,7 @@ public Currency getCurrency() { /** * Dynamic timestamp + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp * recording when this resource was last updated. */ public String getLastUpdatedAt() { @@ -105,8 +105,8 @@ private Links() { private String creditor; /** - * ID of the associated creditor. + * ID of the associated + * creditor. */ public String getCreditor() { return creditor; diff --git a/src/main/java/com/gocardless/resources/BankAuthorisation.java b/src/main/java/com/gocardless/resources/BankAuthorisation.java index 3e43e128..1df51538 100644 --- a/src/main/java/com/gocardless/resources/BankAuthorisation.java +++ b/src/main/java/com/gocardless/resources/BankAuthorisation.java @@ -36,7 +36,7 @@ public AuthorisationType getAuthorisationType() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when the user has been authorised. */ public String getAuthorisedAt() { @@ -67,7 +67,7 @@ public String getId() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when the authorisation URL has been visited. */ public String getLastVisitedAt() { @@ -100,11 +100,11 @@ public String getQrCodeUrl() { * Please note: bank authorisations can still fail despite an outcome=success on * the redirect_uri. It is therefore recommended to wait for the relevant bank * authorisation event, such as BANK_AUTHORISATION_AUTHORISED, + * "https://docs.gocardless.com/docs/api-reference/events/billing-request">BANK_AUTHORISATION_AUTHORISED, * BANK_AUTHORISATION_DENIED, + * "https://docs.gocardless.com/docs/api-reference/events/billing-request">BANK_AUTHORISATION_DENIED, * or BANK_AUTHORISATION_FAILED + * "https://docs.gocardless.com/docs/api-reference/events/billing-request">BANK_AUTHORISATION_FAILED * in order to show the correct outcome to the user. * * The BillingRequestFlow ID will also be appended to the redirect_uri as query @@ -144,8 +144,8 @@ private Links() { private String institution; /** - * ID of the billing + * ID of the + * billing * request against which this authorisation was created. */ public String getBillingRequest() { @@ -153,8 +153,8 @@ public String getBillingRequest() { } /** - * ID of the institution + * ID of the + * institution * against which this authorisation was created. */ public String getInstitution() { diff --git a/src/main/java/com/gocardless/resources/BankDetailsLookup.java b/src/main/java/com/gocardless/resources/BankDetailsLookup.java index ef51a995..1c197d5f 100644 --- a/src/main/java/com/gocardless/resources/BankDetailsLookup.java +++ b/src/main/java/com/gocardless/resources/BankDetailsLookup.java @@ -19,8 +19,7 @@ private BankDetailsLookup() { private PayerNameVerificationResult payerNameVerificationResult; /** - * Array of - * schemes + * Array of schemes * supported for this bank account. This will be an empty array if the bank account is not * reachable by any schemes. */ diff --git a/src/main/java/com/gocardless/resources/BillingRequest.java b/src/main/java/com/gocardless/resources/BillingRequest.java index a2e5a22b..ce1786fa 100644 --- a/src/main/java/com/gocardless/resources/BillingRequest.java +++ b/src/main/java/com/gocardless/resources/BillingRequest.java @@ -11,7 +11,7 @@ * of required input might be additional customer billing details, while an action would be asking a * customer to authorise a payment using their mobile banking app. * - * See Billing + * See Billing * Requests: Overview for how-to's, explanations and tutorials. *

* Important: All properties associated with subscription_request and @@ -49,7 +49,7 @@ public List getActions() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -60,8 +60,8 @@ public String getCreatedAt() { * (Optional) If true, this billing request can fallback from instant payment to direct debit. * Should not be set if GoCardless payment intelligence feature is used. * - * See Billing + * See + * Billing * Requests: Retain customers with Fallbacks for more information. */ public Boolean getFallbackEnabled() { @@ -123,7 +123,8 @@ public PaymentContextCode getPaymentContextCode() { /** * Specifies the underlying purpose of the payment. Defines the specific reason or type of * service/goods the payment relates to, improving straight-through processing and compliance. - * See VRP + * See VRP * Commercial Payment Purpose Codes for the complete list of valid codes. */ public String getPaymentPurposeCode() { @@ -140,9 +141,9 @@ public PaymentRequest getPaymentRequest() { /** * Specifies the high-level purpose/category of a mandate and/or payment using a set of * pre-defined categories. Provides context on the nature and reason for the payment to - * facilitate processing and compliance. See - * Billing Request - * Purpose Codes for the complete list of valid codes. + * facilitate processing and compliance. See Billing + * Request Purpose Codes for the complete list of valid codes. */ public PurposeCode getPurposeCode() { return purposeCode; @@ -523,7 +524,7 @@ public String getCurrency() { /** * An explicit array of instalment payments, each specifying at least an amount * and charge_date. See create + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule#create-with-schedule">create * (with dates) */ public List getInstalmentsWithDates() { @@ -533,7 +534,7 @@ public List getInstalmentsWithDates() { /** * 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. See create + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule#create-with-schedule">create * (with schedule) */ public InstalmentsWithSchedule getInstalmentsWithSchedule() { @@ -562,8 +563,8 @@ public String getName() { /** * An optional payment reference. This will be set as the reference on each payment created - * and will appear on your customer's bank statement. See the documentation for the create + * and will appear on your customer's bank statement. See the documentation for the + * create * payment endpoint for more details.
*
*/ @@ -572,9 +573,9 @@ public String getPaymentReference() { } /** - * On failure, automatically retry payments using - * intelligent retries. - * Default is false. + * On failure, automatically retry payments using intelligent + * retries. Default is false. *

* Important: To be able to use intelligent retries, Success+ needs to be * enabled in GoCardless dashboard. @@ -626,9 +627,9 @@ public Integer getAmount() { /** * A future date on which the payment should be collected. If the date is before the - * next_possible_charge_date on the mandate, - * it will be automatically rolled forwards to that date. + * next_possible_charge_date on the + * mandate, it will + * be automatically rolled forwards to that date. */ public String getChargeDate() { return chargeDate; @@ -638,7 +639,7 @@ public String getChargeDate() { * A human-readable description of the payment. This will be included in the * notification email GoCardless sends to your customer if your organisation does not * send its own notifications (see compliance + * "https://docs.gocardless.com/docs/api-reference/compliance-requirements">compliance * requirements). */ public String getDescription() { @@ -651,7 +652,7 @@ public String getDescription() { * * 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. See create + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule#create-with-schedule">create * (with schedule) */ public static class InstalmentsWithSchedule { @@ -690,8 +691,7 @@ public IntervalUnit getIntervalUnit() { /** * The date on which the first payment should be charged. Must be on or after the - * mandate's + * mandate's * next_possible_charge_date. When left blank and month or * day_of_month are provided, this will be set to the date of the first * payment. If created without month or day_of_month this will @@ -724,7 +724,7 @@ private Links() { /** * (Optional) ID of the instalment_schedule + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule">instalment_schedule * that was created from this instalment schedule request. */ public String getInstalmentSchedule() { @@ -760,8 +760,8 @@ private Links() { private String subscriptionRequestSubscription; /** - * (Optional) ID of the bank + * (Optional) ID of the + * bank * authorisation that was used to verify this request. */ public String getBankAuthorisation() { @@ -769,16 +769,15 @@ public String getBankAuthorisation() { } /** - * ID of the associated creditor. + * ID of the associated + * creditor. */ public String getCreditor() { return creditor; } /** - * ID of the customer + * ID of the customer * that will be used for this request */ public String getCustomer() { @@ -787,7 +786,7 @@ public String getCustomer() { /** * (Optional) ID of the customer_bank_account + * "https://docs.gocardless.com/docs/api-reference/customer-bank-account">customer_bank_account * that will be used for this request */ public String getCustomerBankAccount() { @@ -810,7 +809,7 @@ public String getInstalmentScheduleRequest() { /** * (Optional) ID of the instalment_schedule + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule">instalment_schedule * that was created from this instalment schedule request. */ public String getInstalmentScheduleRequestInstalmentSchedule() { @@ -825,9 +824,9 @@ public String getMandateRequest() { } /** - * (Optional) ID of the mandate - * that was created from this mandate request. this mandate request. + * (Optional) ID of the + * mandate that was + * created from this mandate request. this mandate request. */ public String getMandateRequestMandate() { return mandateRequestMandate; @@ -855,9 +854,9 @@ public String getPaymentRequest() { } /** - * (Optional) ID of the payment - * that was created from this payment request. + * (Optional) ID of the + * payment that was + * created from this payment request. */ public String getPaymentRequestPayment() { return paymentRequestPayment; @@ -871,8 +870,8 @@ public String getSubscriptionRequest() { } /** - * (Optional) ID of the subscription + * (Optional) ID of the + * subscription * that was created from this subscription request. */ public String getSubscriptionRequestSubscription() { @@ -1028,7 +1027,7 @@ public Boolean getSweeping() { * preference. * * See Billing + * "https://docs.gocardless.com/docs/collect-payments/setting-up-mandates/verified-mandates">Billing * Requests: Creating Verified Mandates for more information. */ public Verify getVerify() { @@ -1233,9 +1232,9 @@ private Links() { private String mandate; /** - * (Optional) ID of the mandate - * that was created from this mandate request. this mandate request. + * (Optional) ID of the + * mandate that was + * created from this mandate request. this mandate request. */ public String getMandate() { return mandate; @@ -1333,9 +1332,9 @@ public String getReference() { } /** - * On failure, automatically retry the payment using - * intelligent retries. - * Default is false. + * On failure, automatically retry the payment using intelligent + * retries. Default is false. *

* Important: To be able to use intelligent retries, Success+ needs to be * enabled in GoCardless dashboard. @@ -1377,9 +1376,9 @@ private Links() { private String payment; /** - * (Optional) ID of the payment - * that was created from this payment request. + * (Optional) ID of the + * payment that was + * created from this payment request. */ public String getPayment() { return payment; @@ -1455,7 +1454,7 @@ public String getCompanyName() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -1495,7 +1494,7 @@ public String getId() { * ISO 639-1 code. * Used as the language for notification emails sent by GoCardless if your organisation * does not send its own (see compliance + * "https://docs.gocardless.com/docs/api-reference/compliance-requirements">compliance * requirements). Currently only "en", "fr", "de", "pt", "es", "it", "nl", "da", * "nb", "sl", "sv" are supported. If this is not provided, the language will be chosen * based on the country_code (if supplied) or default to "en". @@ -1550,7 +1549,7 @@ private CustomerBankAccount() { * customer is created is stored and is available via the API, but is transliterated, * upcased, and truncated to 18 characters in bank submissions. This field is required * unless the request includes a customer + * "https://docs.gocardless.com/docs/collect-payments/integration-types/javascript-drop-in-flow">customer * bank account token. */ public String getAccountHolderName() { @@ -1568,7 +1567,7 @@ public String getAccountNumberEnding() { /** * Bank account type. Required for USD-denominated bank accounts. Must not be provided * for bank accounts in other currencies. See local + * "https://docs.gocardless.com/docs/api-reference/local-bank-details#united-states">local * details for more information. */ public AccountType getAccountType() { @@ -1602,7 +1601,7 @@ public String getCountryCode() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -1691,8 +1690,8 @@ private Links() { private String customer; /** - * ID of the customer + * ID of the + * customer * that owns this bank account. */ public String getCustomer() { @@ -1764,7 +1763,7 @@ public String getCountryCode() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -1949,8 +1948,8 @@ public String getName() { /** * An optional payment reference. This will be set as the reference on each payment created - * and will appear on your customer's bank statement. See the documentation for the create + * and will appear on your customer's bank statement. See the documentation for the + * create * payment endpoint for more details.
*
*/ @@ -1959,9 +1958,9 @@ public String getPaymentReference() { } /** - * On failure, automatically retry payments using - * intelligent retries. - * Default is false. + * On failure, automatically retry payments using intelligent + * retries. Default is false. *

* Important: To be able to use intelligent retries, Success+ needs to be * enabled in GoCardless dashboard. @@ -2022,8 +2021,8 @@ private Links() { /** * (Optional) ID of the subscription - * that was created from this subscription request. + * "https://docs.gocardless.com/docs/api-reference/subscription">subscription that + * was created from this subscription request. */ public String getSubscription() { return subscription; diff --git a/src/main/java/com/gocardless/resources/BillingRequestFlow.java b/src/main/java/com/gocardless/resources/BillingRequestFlow.java index 3c13acc9..3209ca63 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestFlow.java +++ b/src/main/java/com/gocardless/resources/BillingRequestFlow.java @@ -204,8 +204,8 @@ private Links() { private String billingRequest; /** - * ID of the billing + * ID of the + * billing * request against which this flow was created. */ public String getBillingRequest() { @@ -230,7 +230,7 @@ private PrefilledBankAccount() { /** * Bank account type for USD-denominated bank accounts. Must not be provided for bank * accounts in other currencies. See local + * "https://docs.gocardless.com/docs/api-reference/local-bank-details#united-states">local * details for more information. */ public AccountType getAccountType() { diff --git a/src/main/java/com/gocardless/resources/BillingRequestTemplate.java b/src/main/java/com/gocardless/resources/BillingRequestTemplate.java index 0ecbad40..89026150 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestTemplate.java +++ b/src/main/java/com/gocardless/resources/BillingRequestTemplate.java @@ -52,7 +52,7 @@ public String getAuthorisationUrl() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -185,7 +185,7 @@ public String getRedirectUri() { /** * Dynamic timestamp + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp * recording when this resource was last updated. */ public String getUpdatedAt() { diff --git a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java index 8bda3919..e2d8c1a6 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java +++ b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java @@ -11,7 +11,7 @@ * of required input might be additional customer billing details, while an action would be asking a * customer to authorise a payment using their mobile banking app. * - * See Billing + * See Billing * Requests: Overview for how-to's, explanations and tutorials. */ public class BillingRequestWithAction { @@ -34,8 +34,7 @@ public BankAuthorisations getBankAuthorisations() { * example of required input might be additional customer billing details, while an action would * be asking a customer to authorise a payment using their mobile banking app. * - * See - * Billing + * See Billing * Requests: Overview for how-to's, explanations and tutorials. *

* Important: All properties associated with subscription_request @@ -76,7 +75,7 @@ public AuthorisationType getAuthorisationType() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when the user has been authorised. */ public String getAuthorisedAt() { @@ -107,7 +106,7 @@ public String getId() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when the authorisation URL has been visited. */ public String getLastVisitedAt() { @@ -140,11 +139,11 @@ public String getQrCodeUrl() { * Please note: bank authorisations can still fail despite an outcome=success * on the redirect_uri. It is therefore recommended to wait for the relevant * bank authorisation event, such as BANK_AUTHORISATION_AUTHORISED, + * "https://docs.gocardless.com/docs/api-reference/events/billing-request">BANK_AUTHORISATION_AUTHORISED, * BANK_AUTHORISATION_DENIED, + * "https://docs.gocardless.com/docs/api-reference/events/billing-request">BANK_AUTHORISATION_DENIED, * or BANK_AUTHORISATION_FAILED + * "https://docs.gocardless.com/docs/api-reference/events/billing-request">BANK_AUTHORISATION_FAILED * in order to show the correct outcome to the user. * * The BillingRequestFlow ID will also be appended to the redirect_uri as query @@ -184,8 +183,8 @@ private Links() { private String institution; /** - * ID of the billing + * ID of the + * billing * request against which this authorisation was created. */ public String getBillingRequest() { @@ -193,8 +192,8 @@ public String getBillingRequest() { } /** - * ID of the institution + * ID of the + * institution * against which this authorisation was created. */ public String getInstitution() { @@ -210,8 +209,7 @@ public String getInstitution() { * example of required input might be additional customer billing details, while an action would * be asking a customer to authorise a payment using their mobile banking app. * - * See - * Billing + * See Billing * Requests: Overview for how-to's, explanations and tutorials. *

* Important: All properties associated with subscription_request @@ -249,7 +247,7 @@ public List getActions() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -261,7 +259,7 @@ public String getCreatedAt() { * debit. Should not be set if GoCardless payment intelligence feature is used. * * See Billing + * "https://docs.gocardless.com/docs/optimise/retain-customers-with-fallbacks">Billing * Requests: Retain customers with Fallbacks for more information. */ public Boolean getFallbackEnabled() { @@ -323,8 +321,8 @@ public PaymentContextCode getPaymentContextCode() { /** * Specifies the underlying purpose of the payment. Defines the specific reason or type of * service/goods the payment relates to, improving straight-through processing and - * compliance. See - * VRP + * compliance. See VRP * Commercial Payment Purpose Codes for the complete list of valid codes. */ public String getPaymentPurposeCode() { @@ -341,9 +339,9 @@ public PaymentRequest getPaymentRequest() { /** * Specifies the high-level purpose/category of a mandate and/or payment using a set of * pre-defined categories. Provides context on the nature and reason for the payment to - * facilitate processing and compliance. See - * Billing Request - * Purpose Codes for the complete list of valid codes. + * facilitate processing and compliance. See Billing + * Request Purpose Codes for the complete list of valid codes. */ public PurposeCode getPurposeCode() { return purposeCode; @@ -726,7 +724,7 @@ public String getCurrency() { /** * An explicit array of instalment payments, each specifying at least an * amount and charge_date. See create + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule#create-with-schedule">create * (with dates) */ public List getInstalmentsWithDates() { @@ -737,7 +735,7 @@ public List getInstalmentsWithDates() { * 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. See * create + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule#create-with-schedule">create * (with schedule) */ public InstalmentsWithSchedule getInstalmentsWithSchedule() { @@ -768,7 +766,7 @@ public String getName() { * An optional payment reference. This will be set as the reference on each payment * created and will appear on your customer's bank statement. See the documentation for * the create + * "https://docs.gocardless.com/docs/api-reference/payment#create-a-payment">create * payment endpoint for more details.
*
*/ @@ -777,8 +775,8 @@ public String getPaymentReference() { } /** - * On failure, automatically retry payments using - * intelligent + * On failure, automatically retry payments using intelligent * retries. Default is false. *

* Important: To be able to use intelligent retries, Success+ needs to @@ -832,9 +830,9 @@ public Integer getAmount() { /** * A future date on which the payment should be collected. If the date is before the - * next_possible_charge_date on the mandate, - * it will be automatically rolled forwards to that date. + * next_possible_charge_date on the + * mandate, it + * will be automatically rolled forwards to that date. */ public String getChargeDate() { return chargeDate; @@ -844,7 +842,7 @@ public String getChargeDate() { * A human-readable description of the payment. This will be included in the * notification email GoCardless sends to your customer if your organisation does * not send its own notifications (see compliance + * "https://docs.gocardless.com/docs/api-reference/compliance-requirements">compliance * requirements). */ public String getDescription() { @@ -858,7 +856,7 @@ public String getDescription() { * 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. See * create + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule#create-with-schedule">create * (with schedule) */ public static class InstalmentsWithSchedule { @@ -897,8 +895,7 @@ public IntervalUnit getIntervalUnit() { /** * The date on which the first payment should be charged. Must be on or after the - * mandate's + * mandate's * next_possible_charge_date. When left blank and month or * day_of_month are provided, this will be set to the date of the first * payment. If created without month or day_of_month this @@ -931,7 +928,7 @@ private Links() { /** * (Optional) ID of the instalment_schedule + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule">instalment_schedule * that was created from this instalment schedule request. */ public String getInstalmentSchedule() { @@ -967,8 +964,8 @@ private Links() { private String subscriptionRequestSubscription; /** - * (Optional) ID of the bank + * (Optional) ID of the + * bank * authorisation that was used to verify this request. */ public String getBankAuthorisation() { @@ -976,17 +973,17 @@ public String getBankAuthorisation() { } /** - * ID of the associated creditor. + * ID of the associated + * creditor. */ public String getCreditor() { return creditor; } /** - * ID of the customer - * that will be used for this request + * ID of the + * customer that + * will be used for this request */ public String getCustomer() { return customer; @@ -994,7 +991,7 @@ public String getCustomer() { /** * (Optional) ID of the customer_bank_account + * "https://docs.gocardless.com/docs/api-reference/customer-bank-account">customer_bank_account * that will be used for this request */ public String getCustomerBankAccount() { @@ -1017,7 +1014,7 @@ public String getInstalmentScheduleRequest() { /** * (Optional) ID of the instalment_schedule + * "https://docs.gocardless.com/docs/api-reference/instalment-schedule">instalment_schedule * that was created from this instalment schedule request. */ public String getInstalmentScheduleRequestInstalmentSchedule() { @@ -1032,9 +1029,9 @@ public String getMandateRequest() { } /** - * (Optional) ID of the mandate - * that was created from this mandate request. this mandate request. + * (Optional) ID of the + * mandate that was + * created from this mandate request. this mandate request. */ public String getMandateRequestMandate() { return mandateRequestMandate; @@ -1062,9 +1059,9 @@ public String getPaymentRequest() { } /** - * (Optional) ID of the payment - * that was created from this payment request. + * (Optional) ID of the + * payment that was + * created from this payment request. */ public String getPaymentRequestPayment() { return paymentRequestPayment; @@ -1079,8 +1076,8 @@ public String getSubscriptionRequest() { /** * (Optional) ID of the subscription - * that was created from this subscription request. + * "https://docs.gocardless.com/docs/api-reference/subscription">subscription that + * was created from this subscription request. */ public String getSubscriptionRequestSubscription() { return subscriptionRequestSubscription; @@ -1239,7 +1236,7 @@ public Boolean getSweeping() { * verification preference. * * See Billing + * "https://docs.gocardless.com/docs/collect-payments/setting-up-mandates/verified-mandates">Billing * Requests: Creating Verified Mandates for more information. */ public Verify getVerify() { @@ -1446,9 +1443,9 @@ private Links() { private String mandate; /** - * (Optional) ID of the mandate - * that was created from this mandate request. this mandate request. + * (Optional) ID of the + * mandate that + * was created from this mandate request. this mandate request. */ public String getMandate() { return mandate; @@ -1547,8 +1544,8 @@ public String getReference() { } /** - * On failure, automatically retry the payment using - * intelligent + * On failure, automatically retry the payment using intelligent * retries. Default is false. *

* Important: To be able to use intelligent retries, Success+ needs to @@ -1593,9 +1590,9 @@ private Links() { private String payment; /** - * (Optional) ID of the payment - * that was created from this payment request. + * (Optional) ID of the + * payment that + * was created from this payment request. */ public String getPayment() { return payment; @@ -1671,7 +1668,7 @@ public String getCompanyName() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -1711,7 +1708,7 @@ public String getId() { * ISO 639-1 * code. Used as the language for notification emails sent by GoCardless if your * organisation does not send its own (see compliance + * "https://docs.gocardless.com/docs/api-reference/compliance-requirements">compliance * requirements). Currently only "en", "fr", "de", "pt", "es", "it", "nl", "da", * "nb", "sl", "sv" are supported. If this is not provided, the language will be * chosen based on the country_code (if supplied) or default to "en". @@ -1766,7 +1763,7 @@ private CustomerBankAccount() { * customer is created is stored and is available via the API, but is * transliterated, upcased, and truncated to 18 characters in bank submissions. This * field is required unless the request includes a customer + * "https://docs.gocardless.com/docs/collect-payments/integration-types/javascript-drop-in-flow">customer * bank account token. */ public String getAccountHolderName() { @@ -1784,7 +1781,7 @@ public String getAccountNumberEnding() { /** * Bank account type. Required for USD-denominated bank accounts. Must not be * provided for bank accounts in other currencies. See local + * "https://docs.gocardless.com/docs/api-reference/local-bank-details#united-states">local * details for more information. */ public AccountType getAccountType() { @@ -1818,7 +1815,7 @@ public String getCountryCode() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -1908,8 +1905,8 @@ private Links() { /** * ID of the customer - * that owns this bank account. + * "https://docs.gocardless.com/docs/api-reference/customer">customer that + * owns this bank account. */ public String getCustomer() { return customer; @@ -1980,7 +1977,7 @@ public String getCountryCode() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -2168,7 +2165,7 @@ public String getName() { * An optional payment reference. This will be set as the reference on each payment * created and will appear on your customer's bank statement. See the documentation for * the create + * "https://docs.gocardless.com/docs/api-reference/payment#create-a-payment">create * payment endpoint for more details.
*
*/ @@ -2177,8 +2174,8 @@ public String getPaymentReference() { } /** - * On failure, automatically retry payments using - * intelligent + * On failure, automatically retry payments using intelligent * retries. Default is false. *

* Important: To be able to use intelligent retries, Success+ needs to @@ -2241,7 +2238,7 @@ private Links() { /** * (Optional) ID of the subscription + * "https://docs.gocardless.com/docs/api-reference/subscription">subscription * that was created from this subscription request. */ public String getSubscription() { diff --git a/src/main/java/com/gocardless/resources/Block.java b/src/main/java/com/gocardless/resources/Block.java index 840ab626..528843de 100644 --- a/src/main/java/com/gocardless/resources/Block.java +++ b/src/main/java/com/gocardless/resources/Block.java @@ -64,7 +64,7 @@ public BlockType getBlockType() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -108,7 +108,7 @@ public String getResourceReference() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was updated. */ public String getUpdatedAt() { diff --git a/src/main/java/com/gocardless/resources/Creditor.java b/src/main/java/com/gocardless/resources/Creditor.java index dfb40350..515bff10 100644 --- a/src/main/java/com/gocardless/resources/Creditor.java +++ b/src/main/java/com/gocardless/resources/Creditor.java @@ -6,11 +6,10 @@ /** * Represents a creditor resource returned from the API. * - * Each - * payment - * taken through the API is linked to a "creditor", to whom the payment is then paid out. In most - * cases your organisation will have a single "creditor", but the API also supports collecting - * payments on behalf of others. + * Each payment taken through + * the API is linked to a "creditor", to whom the payment is then paid out. In most cases your + * organisation will have a single "creditor", but the API also supports collecting payments on + * behalf of others. * * Currently, for Anti Money Laundering reasons, any creditors you add must be directly related to * your organisation. @@ -99,7 +98,7 @@ public String getCountryCode() { /** * Fixed timestamp, + * "https://docs.gocardless.com/docs/api-reference/data-conventions#dates-and-times">timestamp, * recording when this resource was created. */ public String getCreatedAt() { @@ -153,9 +152,9 @@ public String getLogoUrl() { } /** - * Boolean value indicating whether creditor has the Mandate - * Imports functionality enabled. + * Boolean value indicating whether creditor has the + * Mandate Imports + * functionality enabled. */ public Boolean getMandateImportsEnabled() { return mandateImportsEnabled; @@ -164,9 +163,9 @@ public Boolean getMandateImportsEnabled() { /** * Boolean value indicating whether the organisation is responsible for sending all customer * notifications (note this is separate from the functionality described here). - * If you are a partner app, and this value is true, you should not send notifications on behalf - * of this organisation. + * "https://docs.gocardless.com/docs/tutorials/handling-customer-notifications">here). If + * you are a partner app, and this value is true, you should not send notifications on behalf of + * this organisation. */ public Boolean getMerchantResponsibleForNotifications() { return merchantResponsibleForNotifications; @@ -198,8 +197,8 @@ public String getRegion() { * * The support address, phone_number and email fields are for * customers to contact the merchant for support purposes. They must be displayed on the payment - * page, please see our compliance + * page, please see our + * compliance * requirements for more details. */ public List getSchemeIdentifiers() { @@ -209,7 +208,7 @@ public List getSchemeIdentifiers() { /** * The creditor's verification status, indicating whether they can yet receive payouts. For more * details on handling verification as a partner, see our "Helping + * "https://docs.gocardless.com/docs/partner-integrations/getting-your-users-verified">"Helping * your users get verified" guide. One of: * *