public class MandatePdfService
extends java.lang.Object
Service class for working with mandate pdf resources.
Mandate PDFs allow you to easily display scheme-rules compliant Direct Debit mandates to your customers.
| Modifier and Type | Class and Description |
|---|---|
static class |
MandatePdfService.MandatePdfCreateRequest
Request class for
create(). |
| Constructor and Description |
|---|
MandatePdfService(HttpClient httpClient)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MandatePdfService.MandatePdfCreateRequest |
create()
Generates a PDF mandate and returns its temporary URL.
|
public MandatePdfService(HttpClient httpClient)
Constructor. Users of this library should have no need to call this - an instance of this class can be obtained by calling GoCardlessClient.mandatePdfs().
public MandatePdfService.MandatePdfCreateRequest create()
Generates a PDF mandate and returns its temporary URL.
Customer and bank account details can be left blank (for a blank mandate), provided manually, or inferred from the ID of an existing mandate.
By default, we’ll generate PDF mandates in English.
To generate a PDF mandate in another language, set the Accept-Language header when creating the PDF mandate to the relevant ISO 639-1 language code supported for the scheme.
| Scheme | Supported languages |
|---|---|
:——————————————————————————————————————————————- | | Autogiro | English (en), Swedish (sv)
| | Bacs | English (en)
| | Becs | English (en)
| | Betalingsservice | Danish (da), English (en)
| | SEPA Core | Danish (da), Dutch (nl), English (en), French (fr), German (de), Italian (it), Portuguese (pt), Spanish (es), Swedish (sv) |