Class Disputes
- java.lang.Object
-
- io.moov.sdk.Disputes
-
public class Disputes extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptDisputeRequestBuilderaccept()Accepts liability for a dispute.AcceptDisputeResponseaccept(java.lang.String accountID, java.lang.String disputeID)Accepts liability for a dispute.DeleteDisputeEvidenceFileRequestBuilderdeleteEvidence()Deletes dispute evidence by ID.DeleteDisputeEvidenceFileResponsedeleteEvidence(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID)Deletes dispute evidence by ID.GetDisputeRequestBuilderget()Get a dispute by ID.GetDisputeResponseget(java.lang.String accountID, java.lang.String disputeID)Get a dispute by ID.GetDisputeEvidenceRequestBuildergetEvidence()Get dispute evidence by ID.GetDisputeEvidenceResponsegetEvidence(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID)Get dispute evidence by ID.GetDisputeEvidenceDataRequestBuildergetEvidenceData()Downloads dispute evidence data by ID.GetDisputeEvidenceDataResponsegetEvidenceData(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID)Downloads dispute evidence data by ID.ListDisputesRequestBuilderlist()Returns the list of disputes.ListDisputesResponselist(ListDisputesRequest request)Returns the list of disputes.ListDisputeEvidenceRequestBuilderlistEvidence()Returns a dispute's public evidence by its ID.ListDisputeEvidenceResponselistEvidence(java.lang.String accountID, java.lang.String disputeID)Returns a dispute's public evidence by its ID.SubmitDisputeEvidenceRequestBuildersubmitEvidence()Submit the evidence associated with a dispute.SubmitDisputeEvidenceResponsesubmitEvidence(java.lang.String accountID, java.lang.String disputeID)Submit the evidence associated with a dispute.UpdateDisputeEvidenceRequestBuilderupdateEvidence()Updates dispute evidence by ID.UpdateDisputeEvidenceResponseupdateEvidence(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID, UpdateEvidence updateEvidence)Updates dispute evidence by ID.UploadDisputeEvidenceFileRequestBuilderuploadEvidenceFile()Uploads a file as evidence for a dispute.UploadDisputeEvidenceFileResponseuploadEvidenceFile(java.lang.String accountID, java.lang.String disputeID, CreateEvidenceFileMultiPart createEvidenceFileMultiPart)Uploads a file as evidence for a dispute.UploadDisputeEvidenceTextRequestBuilderuploadEvidenceText()Uploads text as evidence for a dispute.UploadDisputeEvidenceTextResponseuploadEvidenceText(java.lang.String accountID, java.lang.String disputeID, CreateEvidenceText createEvidenceText)Uploads text as evidence for a dispute.
-
-
-
Method Detail
-
list
public ListDisputesRequestBuilder list()
Returns the list of disputes.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
list
public ListDisputesResponse list(ListDisputesRequest request) throws java.lang.Exception
Returns the list of disputes.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
request- The request object containing all the parameters for the API call.- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
get
public GetDisputeRequestBuilder get()
Get a dispute by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
get
public GetDisputeResponse get(java.lang.String accountID, java.lang.String disputeID) throws java.lang.Exception
Get a dispute by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
accountID-disputeID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
accept
public AcceptDisputeRequestBuilder accept()
Accepts liability for a dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
accept
public AcceptDisputeResponse accept(java.lang.String accountID, java.lang.String disputeID) throws java.lang.Exception
Accepts liability for a dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
accountID-disputeID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
listEvidence
public ListDisputeEvidenceRequestBuilder listEvidence()
Returns a dispute's public evidence by its ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
listEvidence
public ListDisputeEvidenceResponse listEvidence(java.lang.String accountID, java.lang.String disputeID) throws java.lang.Exception
Returns a dispute's public evidence by its ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
accountID-disputeID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
uploadEvidenceFile
public UploadDisputeEvidenceFileRequestBuilder uploadEvidenceFile()
Uploads a file as evidence for a dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Returns:
- The call builder
-
uploadEvidenceFile
public UploadDisputeEvidenceFileResponse uploadEvidenceFile(java.lang.String accountID, java.lang.String disputeID, CreateEvidenceFileMultiPart createEvidenceFileMultiPart) throws java.lang.Exception
Uploads a file as evidence for a dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Parameters:
accountID-disputeID-createEvidenceFileMultiPart-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
uploadEvidenceText
public UploadDisputeEvidenceTextRequestBuilder uploadEvidenceText()
Uploads text as evidence for a dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Returns:
- The call builder
-
uploadEvidenceText
public UploadDisputeEvidenceTextResponse uploadEvidenceText(java.lang.String accountID, java.lang.String disputeID, CreateEvidenceText createEvidenceText) throws java.lang.Exception
Uploads text as evidence for a dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Parameters:
accountID-disputeID-createEvidenceText-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
submitEvidence
public SubmitDisputeEvidenceRequestBuilder submitEvidence()
Submit the evidence associated with a dispute.Evidence items must be uploaded using the appropriate endpoint(s) prior to calling this endpoint to submit it. **Evidence can only be submitted once per dispute.**
Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Returns:
- The call builder
-
submitEvidence
public SubmitDisputeEvidenceResponse submitEvidence(java.lang.String accountID, java.lang.String disputeID) throws java.lang.Exception
Submit the evidence associated with a dispute.Evidence items must be uploaded using the appropriate endpoint(s) prior to calling this endpoint to submit it. **Evidence can only be submitted once per dispute.**
Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Parameters:
accountID-disputeID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getEvidence
public GetDisputeEvidenceRequestBuilder getEvidence()
Get dispute evidence by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
getEvidence
public GetDisputeEvidenceResponse getEvidence(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID) throws java.lang.Exception
Get dispute evidence by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
accountID-disputeID-evidenceID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
updateEvidence
public UpdateDisputeEvidenceRequestBuilder updateEvidence()
Updates dispute evidence by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Returns:
- The call builder
-
updateEvidence
public UpdateDisputeEvidenceResponse updateEvidence(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID, UpdateEvidence updateEvidence) throws java.lang.Exception
Updates dispute evidence by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Parameters:
accountID-disputeID-evidenceID-updateEvidence-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
deleteEvidence
public DeleteDisputeEvidenceFileRequestBuilder deleteEvidence()
Deletes dispute evidence by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Returns:
- The call builder
-
deleteEvidence
public DeleteDisputeEvidenceFileResponse deleteEvidence(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID) throws java.lang.Exception
Deletes dispute evidence by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
- Parameters:
accountID-disputeID-evidenceID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
getEvidenceData
public GetDisputeEvidenceDataRequestBuilder getEvidenceData()
Downloads dispute evidence data by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Returns:
- The call builder
-
getEvidenceData
public GetDisputeEvidenceDataResponse getEvidenceData(java.lang.String accountID, java.lang.String disputeID, java.lang.String evidenceID) throws java.lang.Exception
Downloads dispute evidence data by ID.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/) to learn more.
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
- Parameters:
accountID-disputeID-evidenceID-- Returns:
- The response from the API call
- Throws:
java.lang.Exception- if the API call fails
-
-