Class MandatesClient
java.lang.Object
com.onlinepayments.ApiResource
com.onlinepayments.merchant.mandates.MandatesClient
- All Implemented Interfaces:
MandatesClientInterface
Mandates client. Thread-safe.
-
Field Summary
Fields inherited from class com.onlinepayments.ApiResource
clientMetaInfo, communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockMandate(String uniqueMandateReference) Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/block - Block mandateblockMandate(String uniqueMandateReference, CallContext context) Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/block - Block mandateResource /v2/{merchantId}/mandates - Create mandatecreateMandate(CreateMandateRequest body, CallContext context) Resource /v2/{merchantId}/mandates - Create mandategetMandate(String uniqueMandateReference) Resource /v2/{merchantId}/mandates/{uniqueMandateReference} - Get mandategetMandate(String uniqueMandateReference, CallContext context) Resource /v2/{merchantId}/mandates/{uniqueMandateReference} - Get mandaterevokeMandate(String uniqueMandateReference) Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/revoke - Revoke mandaterevokeMandate(String uniqueMandateReference, CallContext context) Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/revoke - Revoke mandateunblockMandate(String uniqueMandateReference) Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/unblock - Unblock mandateunblockMandate(String uniqueMandateReference, CallContext context) Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/unblock - Unblock mandateMethods inherited from class com.onlinepayments.ApiResource
getClientHeaders, instantiateUri
-
Constructor Details
-
MandatesClient
-
-
Method Details
-
createMandate
Resource /v2/{merchantId}/mandates - Create mandate- Specified by:
createMandatein interfaceMandatesClientInterface- Parameters:
body- CreateMandateRequest- Returns:
- CreateMandateResponse
-
createMandate
Resource /v2/{merchantId}/mandates - Create mandate- Specified by:
createMandatein interfaceMandatesClientInterface- Parameters:
body- CreateMandateRequestcontext- CallContext- Returns:
- CreateMandateResponse
-
getMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference} - Get mandate- Specified by:
getMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- String- Returns:
- GetMandateResponse
-
getMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference} - Get mandate- Specified by:
getMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- Stringcontext- CallContext- Returns:
- GetMandateResponse
-
blockMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/block - Block mandate- Specified by:
blockMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- String- Returns:
- GetMandateResponse
-
blockMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/block - Block mandate- Specified by:
blockMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- Stringcontext- CallContext- Returns:
- GetMandateResponse
-
unblockMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/unblock - Unblock mandate- Specified by:
unblockMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- String- Returns:
- GetMandateResponse
-
unblockMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/unblock - Unblock mandate- Specified by:
unblockMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- Stringcontext- CallContext- Returns:
- GetMandateResponse
-
revokeMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/revoke - Revoke mandate- Specified by:
revokeMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- String- Returns:
- GetMandateResponse
-
revokeMandate
Resource /v2/{merchantId}/mandates/{uniqueMandateReference}/revoke - Revoke mandate- Specified by:
revokeMandatein interfaceMandatesClientInterface- Parameters:
uniqueMandateReference- Stringcontext- CallContext- Returns:
- GetMandateResponse
-