Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/braintree/braintree_php/lib/Braintree/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/braintree/braintree_php/lib/Braintree/RiskData.php

<?php
namespace Braintree;

/**
 * @property-read string $decision
 * @property-read boolean $deviceDataCaptured
 * @property-read string $id
 */
class RiskData extends Base
{
    public static function factory($attributes)
    {
        $instance = new self();
        $instance->_initialize($attributes);

        return $instance;
    }

    protected function _initialize($attributes)
    {
        $this->_attributes = $attributes;
    }

    /**
     * returns a string representation of the risk data
     * @return string
     */
    public function __toString()
    {
        return __CLASS__ . '[' .
                Util::attributesToString($this->_attributes) .']';
    }

}