public class MandatesClient extends ApiResource
clientMetaInfo, communicator| Constructor and Description |
|---|
MandatesClient(ApiResource parent,
Map<String,String> pathContext) |
| Modifier and Type | Method and Description |
|---|---|
GetMandateResponse |
block(String uniqueMandateReference)
Resource /{merchantId}/mandates/{uniqueMandateReference}/block
- Block mandate
|
GetMandateResponse |
block(String uniqueMandateReference,
CallContext context)
Resource /{merchantId}/mandates/{uniqueMandateReference}/block
- Block mandate
|
CreateMandateResponse |
create(CreateMandateRequest body)
Resource /{merchantId}/mandates
- Create mandate
|
CreateMandateResponse |
create(CreateMandateRequest body,
CallContext context)
Resource /{merchantId}/mandates
- Create mandate
|
CreateMandateResponse |
createWithMandateReference(String uniqueMandateReference,
CreateMandateRequest body)
Resource /{merchantId}/mandates/{uniqueMandateReference}
- Create mandate with mandatereference
|
CreateMandateResponse |
createWithMandateReference(String uniqueMandateReference,
CreateMandateRequest body,
CallContext context)
Resource /{merchantId}/mandates/{uniqueMandateReference}
- Create mandate with mandatereference
|
GetMandateResponse |
get(String uniqueMandateReference)
Resource /{merchantId}/mandates/{uniqueMandateReference}
- Get mandate
|
GetMandateResponse |
get(String uniqueMandateReference,
CallContext context)
Resource /{merchantId}/mandates/{uniqueMandateReference}
- Get mandate
|
GetMandateResponse |
revoke(String uniqueMandateReference)
Resource /{merchantId}/mandates/{uniqueMandateReference}/revoke
- Revoke mandate
|
GetMandateResponse |
revoke(String uniqueMandateReference,
CallContext context)
Resource /{merchantId}/mandates/{uniqueMandateReference}/revoke
- Revoke mandate
|
GetMandateResponse |
unblock(String uniqueMandateReference)
Resource /{merchantId}/mandates/{uniqueMandateReference}/unblock
- Unblock mandate
|
GetMandateResponse |
unblock(String uniqueMandateReference,
CallContext context)
Resource /{merchantId}/mandates/{uniqueMandateReference}/unblock
- Unblock mandate
|
getClientHeaders, instantiateUripublic MandatesClient(ApiResource parent, Map<String,String> pathContext)
public CreateMandateResponse create(CreateMandateRequest body)
body - CreateMandateRequestValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic CreateMandateResponse create(CreateMandateRequest body, CallContext context)
body - CreateMandateRequestcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic CreateMandateResponse createWithMandateReference(String uniqueMandateReference, CreateMandateRequest body)
uniqueMandateReference - Stringbody - CreateMandateRequestValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic CreateMandateResponse createWithMandateReference(String uniqueMandateReference, CreateMandateRequest body, CallContext context)
uniqueMandateReference - Stringbody - CreateMandateRequestcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse get(String uniqueMandateReference)
uniqueMandateReference - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse get(String uniqueMandateReference, CallContext context)
uniqueMandateReference - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse block(String uniqueMandateReference)
uniqueMandateReference - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse block(String uniqueMandateReference, CallContext context)
uniqueMandateReference - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse unblock(String uniqueMandateReference)
uniqueMandateReference - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse unblock(String uniqueMandateReference, CallContext context)
uniqueMandateReference - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse revoke(String uniqueMandateReference)
uniqueMandateReference - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic GetMandateResponse revoke(String uniqueMandateReference, CallContext context)
uniqueMandateReference - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorCopyright © 2025 Worldline Global Collect. All rights reserved.