NAME

WebService::Braintree::Dispute

PURPOSE

This class represents a dispute.

CLASS METHODS

accept

This takes a dispute id and marks it as accepted.

finalize

This takes a dispute id and marks it as disputed.

add_text_evidence

This takes a dispute id and a comment and adds the comment to the dispute's evidence.

remove_evidence

This takes a dispute id and an evidence id and removes the evidence from the dispute's evidence.

find

This takes a dispute id and returns it.

search()

This takes a subref which is used to set the search parameters and returns a collection of Dispute objects.

Please see Searching for more information on the subref and how it works.

OBJECT METHODS

In addition to the methods provided by TODO, this class provides the following methods:

transaction_details()

This returns the transaction details associated with this dispute (if any). This will be an object of type "" in WebService::Braintree::Dispute::TransactionDetails.

TODO

Need to document the keys and values that are returned
Need to document the required and optional input parameters
Need to document the possible errors/exceptions