Class DisputeManagementClient
java.lang.Object
com.worldline.acquiring.sdk.java.ApiResource
com.worldline.acquiring.sdk.java.v1.disputemanagement.DisputeManagementClient
DisputeManagement client. Thread-safe.
-
Field Summary
Fields inherited from class com.worldline.acquiring.sdk.java.ApiResource
communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptDisputeLiability(String disputeId, AcceptDisputeLiabilityRequest body) Resource /dispute-management/v1/disputes/{disputeId}/accept - Accept LiabilityacceptDisputeLiability(String disputeId, AcceptDisputeLiabilityRequest body, CallContext context) Resource /dispute-management/v1/disputes/{disputeId}/accept - Accept LiabilitygetDispute(String disputeId, GetDisputeParams query) Resource /dispute-management/v1/disputes/{disputeId} - Retrieve DisputegetDispute(String disputeId, GetDisputeParams query, CallContext context) Resource /dispute-management/v1/disputes/{disputeId} - Retrieve DisputeResource /dispute-management/v1/disputes/search - Search DisputessearchDisputes(SearchDisputesRequest body, CallContext context) Resource /dispute-management/v1/disputes/search - Search DisputessubmitEvidence(String disputeId, SubmitEvidenceRequest body) Resource /dispute-management/v1/disputes/{disputeId}/submit-evidence - Submit EvidencesubmitEvidence(String disputeId, SubmitEvidenceRequest body, CallContext context) Resource /dispute-management/v1/disputes/{disputeId}/submit-evidence - Submit EvidenceMethods inherited from class com.worldline.acquiring.sdk.java.ApiResource
instantiateUri
-
Constructor Details
-
DisputeManagementClient
-
-
Method Details
-
searchDisputes
Resource /dispute-management/v1/disputes/search - Search Disputes- Parameters:
body- SearchDisputesRequest- Returns:
- SearchDisputesResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
searchDisputes
Resource /dispute-management/v1/disputes/search - Search Disputes- Parameters:
body- SearchDisputesRequestcontext- CallContext- Returns:
- SearchDisputesResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
getDispute
Resource /dispute-management/v1/disputes/{disputeId} - Retrieve Dispute- Parameters:
disputeId- Stringquery- GetDisputeParams- Returns:
- DisputeResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
getDispute
Resource /dispute-management/v1/disputes/{disputeId} - Retrieve Dispute- Parameters:
disputeId- Stringquery- GetDisputeParamscontext- CallContext- Returns:
- DisputeResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
acceptDisputeLiability
Resource /dispute-management/v1/disputes/{disputeId}/accept - Accept Liability- Parameters:
disputeId- Stringbody- AcceptDisputeLiabilityRequest- Returns:
- DisputeResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
acceptDisputeLiability
public DisputeResponse acceptDisputeLiability(String disputeId, AcceptDisputeLiabilityRequest body, CallContext context) Resource /dispute-management/v1/disputes/{disputeId}/accept - Accept Liability- Parameters:
disputeId- Stringbody- AcceptDisputeLiabilityRequestcontext- CallContext- Returns:
- DisputeResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
submitEvidence
Resource /dispute-management/v1/disputes/{disputeId}/submit-evidence - Submit Evidence- Parameters:
disputeId- Stringbody- SubmitEvidenceRequest- Returns:
- DisputeResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-
submitEvidence
public DisputeResponse submitEvidence(String disputeId, SubmitEvidenceRequest body, CallContext context) Resource /dispute-management/v1/disputes/{disputeId}/submit-evidence - Submit Evidence- Parameters:
disputeId- Stringbody- SubmitEvidenceRequestcontext- CallContext- Returns:
- DisputeResponse
- Throws:
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 Acquiring platform, the Worldline Acquiring 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 Acquiring platform returned any other error
-