src/ClearSaleID/Entity/Request/Order.php
public function setStatus( $status )
    {
        if (!in_array( intval( $status ), self::$statuses )) {
            throw new InvalidArgumentException( sprintf( 'Invalid status (%s)', $status ) );
        }

        $this->status = $status;

        return $this;
    }
public function setStatus( $status )
    {
        if (!in_array( intval( $status ), self::$statuses )) {
            throw new InvalidArgumentException( sprintf( 'Invalid status (%s)', $status ) );
        }

        $this->status = $status;

        return $this;
    }
@param  int $status

@return $this