public class MandatesClient extends ApiResource implements MandatesClientInterface
clientMetaInfo, communicator| Constructor and Description |
|---|
MandatesClient(ApiResource parent,
Map<String,String> pathContext) |
| Modifier and Type | Method and Description |
|---|---|
GetMandateResponse |
blockMandate(String uniqueMandateReference)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/block
- Block mandate
|
GetMandateResponse |
blockMandate(String uniqueMandateReference,
CallContext context)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/block
- Block mandate
|
CreateMandateResponse |
createMandate(CreateMandateRequest body)
Resource /v2/{merchantId}/mandates
- Create mandate
|
CreateMandateResponse |
createMandate(CreateMandateRequest body,
CallContext context)
Resource /v2/{merchantId}/mandates
- Create mandate
|
GetMandateResponse |
getMandate(String uniqueMandateReference)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}
- Get mandate
|
GetMandateResponse |
getMandate(String uniqueMandateReference,
CallContext context)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}
- Get mandate
|
GetMandateResponse |
revokeMandate(String uniqueMandateReference)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/revoke
- Revoke mandate
|
GetMandateResponse |
revokeMandate(String uniqueMandateReference,
CallContext context)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/revoke
- Revoke mandate
|
GetMandateResponse |
unblockMandate(String uniqueMandateReference)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/unblock
- Unblock mandate
|
GetMandateResponse |
unblockMandate(String uniqueMandateReference,
CallContext context)
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/unblock
- Unblock mandate
|
createException, getClientHeaders, instantiateUripublic MandatesClient(ApiResource parent, Map<String,String> pathContext)
public CreateMandateResponse createMandate(CreateMandateRequest body)
createMandate in interface MandatesClientInterfacepublic CreateMandateResponse createMandate(CreateMandateRequest body, CallContext context)
createMandate in interface MandatesClientInterfacepublic GetMandateResponse getMandate(String uniqueMandateReference)
getMandate in interface MandatesClientInterfacepublic GetMandateResponse getMandate(String uniqueMandateReference, CallContext context)
getMandate in interface MandatesClientInterfacepublic GetMandateResponse blockMandate(String uniqueMandateReference)
blockMandate in interface MandatesClientInterfacepublic GetMandateResponse blockMandate(String uniqueMandateReference, CallContext context)
blockMandate in interface MandatesClientInterfacepublic GetMandateResponse unblockMandate(String uniqueMandateReference)
unblockMandate in interface MandatesClientInterfacepublic GetMandateResponse unblockMandate(String uniqueMandateReference, CallContext context)
unblockMandate in interface MandatesClientInterfacepublic GetMandateResponse revokeMandate(String uniqueMandateReference)
revokeMandate in interface MandatesClientInterfacepublic GetMandateResponse revokeMandate(String uniqueMandateReference, CallContext context)
revokeMandate in interface MandatesClientInterfaceCopyright © 2024 Worldline Online Payments Direct. All rights reserved.