Braintree\Disbursement::__toString PHP Method

__toString() public method

public __toString ( )
    public function __toString()
    {
        $display = ['id', 'merchantAccountDetails', 'exceptionMessage', 'amount', 'disbursementDate', 'followUpAction', 'retry', 'success', 'transactionIds'];
        $displayAttributes = [];
        foreach ($display as $attrib) {
            $displayAttributes[$attrib] = $this->{$attrib};
        }
        return __CLASS__ . '[' . Util::attributesToString($displayAttributes) . ']';
    }