There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

WebService::Braintree::Discount

PURPOSE

This class lists all discounts.

all()

This returns all the discounts. This will be an arrayref of Discounts. If none are found, then an empty arrayref.

This does NOT return a result or error-result object.