PayWithAmazon\Client::setSandbox PHP Method

setSandbox() public method

* Setter for sandbox Sets the Boolean value for config['sandbox'] variable
public setSandbox ( $value )
    public function setSandbox($value)
    {
        if (is_bool($value)) {
            $this->config['sandbox'] = $value;
        } else {
            throw new \Exception($value . ' is of type ' . gettype($value) . ' and should be a boolean value');
        }
    }